pub struct Event {
pub watch: Watch,
pub mask: Mask,
pub cookie: u32,
pub path: PathBuf,
}Expand description
An event returned by the kernel
Fields§
§watch: WatchThe Watch associated with this event
mask: MaskThe mask associated with this event
A cookie associated with the event
path: PathBufA path associated with this event (empty unless disambigous to the kernel)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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