pub struct Event {
pub ident: Ident,
pub data: EventData,
}
Expand description
An event from a Watcher
object.
An event contains both the a signifier of the watched object that triggered
the event, as well as any event-specific. See the EventData
enum for info
on what event-specific data is returned for each event.
Fields§
§ident: Ident
The watched resource that triggered the event
data: EventData
Any event-specific data returned with the event.
Trait Implementations§
Auto Trait Implementations§
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