Struct DebouncedEvent
pub struct DebouncedEvent { pub path: PathBuf, pub kind: DebouncedEventKind }
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: PathBufEvent path
kind: DebouncedEventKindEvent kind
Implementations
impl DebouncedEvent
fn new(path: PathBuf, kind: DebouncedEventKind) -> Self
Trait Implementations
impl Clone for DebouncedEvent
fn clone(&self) -> DebouncedEvent
impl Debug for DebouncedEvent
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for DebouncedEvent
impl Hash for DebouncedEvent
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for DebouncedEvent
fn eq(&self, other: &DebouncedEvent) -> bool
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 UnsafeUnpin for DebouncedEvent
impl UnwindSafe for DebouncedEvent
Blanket Implementations
impl<T> Any for DebouncedEvent
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for DebouncedEvent
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for DebouncedEvent
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for DebouncedEvent
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for DebouncedEvent
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for DebouncedEvent
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for DebouncedEvent
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for DebouncedEvent
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for DebouncedEvent
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>