struct WatchedPath {
raw: PathBuf,
canonical: Option<PathBuf>,
}Expand description
Both spellings of the watched path: FSEvents reports real paths, so a
config dir reached through a symlink (/var on macOS) needs the
canonical one to match.
Fields§
§raw: PathBuf§canonical: Option<PathBuf>Implementations§
Auto Trait Implementations§
impl Freeze for WatchedPath
impl RefUnwindSafe for WatchedPath
impl Send for WatchedPath
impl Sync for WatchedPath
impl Unpin for WatchedPath
impl UnsafeUnpin for WatchedPath
impl UnwindSafe for WatchedPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more