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
Implementations§
Source§impl DebouncedEvent
impl DebouncedEvent
pub fn new(path: PathBuf, kind: DebouncedEventKind) -> Self
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 for DebouncedEvent
impl PartialEq for DebouncedEvent
impl Eq for DebouncedEvent
impl StructuralPartialEq for DebouncedEvent
Auto Trait Implementations§
impl Freeze for DebouncedEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)