Struct notify_debouncer_mini::DebouncedEvent
source · pub struct DebouncedEvent {
pub path: PathBuf,
pub kind: DebouncedEventKind,
}
Expand description
A debounced event.
Does not emit any specific event type on purpose, only distinguishes between an any event and a continuous any event.
Fields§
§path: PathBuf
Event path
kind: DebouncedEventKind
Event kind
Trait Implementations§
source§impl Clone for DebouncedEvent
impl Clone for DebouncedEvent
source§fn clone(&self) -> DebouncedEvent
fn clone(&self) -> DebouncedEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DebouncedEvent
impl Debug for DebouncedEvent
source§impl Hash for DebouncedEvent
impl Hash for DebouncedEvent
source§impl PartialEq<DebouncedEvent> for DebouncedEvent
impl PartialEq<DebouncedEvent> for DebouncedEvent
source§fn eq(&self, other: &DebouncedEvent) -> bool
fn eq(&self, other: &DebouncedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DebouncedEvent
impl StructuralEq for DebouncedEvent
impl StructuralPartialEq for DebouncedEvent
Auto Trait Implementations§
impl RefUnwindSafe for DebouncedEvent
impl Send for DebouncedEvent
impl Sync for DebouncedEvent
impl Unpin for DebouncedEvent
impl UnwindSafe for DebouncedEvent
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