pub struct FsEvent {
pub kind: FsEventKind,
pub path: PathBuf,
pub root: PathBuf,
pub relative_path: PathBuf,
}Expand description
Filesystem event emitted by from_fs_watch.
Fields§
§kind: FsEventKindkind field for kind.
path: PathBufpath field for path.
root: PathBufroot field for root.
relative_path: PathBufrelative_path field for relative path.
Trait Implementations§
impl Eq for FsEvent
impl StructuralPartialEq for FsEvent
Auto Trait Implementations§
impl Freeze for FsEvent
impl RefUnwindSafe for FsEvent
impl Send for FsEvent
impl Sync for FsEvent
impl Unpin for FsEvent
impl UnsafeUnpin for FsEvent
impl UnwindSafe for FsEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.