pub struct PathMap<T> { /* fields omitted */ }A map from paths to another type, like instance IDs, with a bit of
additional data that enables removing a path and all of its child paths from
the tree more quickly.
pub fn entry<'a>(&'a mut self, path: PathBuf) -> Entry<'a, T> | [src] |
Traverses the route between start_path and target_path and returns
the path closest to target_path in the tree.
This is useful when trying to determine what paths need to be marked as
altered when a change to a path is registered. Depending on the order of
FS events, a file remove event could be followed by that file's
directory being removed, in which case we should process that
directory's parent.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static