Enum RemoveKind
pub enum RemoveKind
An event describing removal operations on files.
Variants
-
Any The catch-all case, to be used when the specific kind of event is unknown.
-
File An event emitted when a file is removed.
-
Folder An event emitted when a folder is removed.
-
Other An event which specific kind is known but cannot be represented otherwise.
Trait Implementations
impl Clone for RemoveKind
fn clone(&self) -> RemoveKind
impl Copy for RemoveKind
impl Debug for RemoveKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RemoveKind
impl Hash for RemoveKind
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for RemoveKind
fn eq(&self, other: &RemoveKind) -> bool
impl StructuralPartialEq for RemoveKind
Auto Trait Implementations
impl Freeze for RemoveKind
impl RefUnwindSafe for RemoveKind
impl Send for RemoveKind
impl Sync for RemoveKind
impl Unpin for RemoveKind
impl UnsafeUnpin for RemoveKind
impl UnwindSafe for RemoveKind
Blanket Implementations
impl<T> Any for RemoveKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RemoveKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RemoveKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for RemoveKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for RemoveKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RemoveKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for RemoveKind
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 RemoveKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RemoveKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>