pub enum RemoveKind {
Any,
File,
Folder,
Other,
}
Expand description
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§
Source§impl Clone for RemoveKind
impl Clone for RemoveKind
Source§fn clone(&self) -> RemoveKind
fn clone(&self) -> RemoveKind
Returns a duplicate 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 RemoveKind
impl Debug for RemoveKind
Source§impl Hash for RemoveKind
impl Hash for RemoveKind
Source§impl PartialEq for RemoveKind
impl PartialEq for RemoveKind
impl Copy for RemoveKind
impl Eq for RemoveKind
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 UnwindSafe for RemoveKind
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Any
: 0 bytesFile
: 0 bytesFolder
: 0 bytesOther
: 0 bytes