(self)
| 18 | |
| 19 | impl ChangeSourceKind { |
| 20 | pub const fn as_str(self) -> &'static str { |
| 21 | match self { |
| 22 | Self::Scan => "scan", |
| 23 | Self::Fsmonitor => "fsmonitor", |
| 24 | Self::Watchman => "watchman", |
| 25 | Self::Custom => "custom", |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | /// Opaque checkpoint owned by a change-source implementation. |