Enum notify::event::CreateKind [−][src]
pub enum CreateKind { Any, File, Folder, Other, }
Expand description
An event describing creation operations on files.
Variants
The catch-all case, to be used when the specific kind of event is unknown.
An event which results in the creation of a file.
An event which results in the creation of a folder.
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations
impl Clone for CreateKind
[src]
impl Clone for CreateKind
[src]fn clone(&self) -> CreateKind
[src]
fn clone(&self) -> CreateKind
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CreateKind
[src]
impl Debug for CreateKind
[src]impl Hash for CreateKind
[src]
impl Hash for CreateKind
[src]impl PartialEq<CreateKind> for CreateKind
[src]
impl PartialEq<CreateKind> for CreateKind
[src]impl Eq for CreateKind
[src]
impl StructuralEq for CreateKind
[src]
impl StructuralPartialEq for CreateKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateKind
impl Send for CreateKind
impl Sync for CreateKind
impl Unpin for CreateKind
impl UnwindSafe for CreateKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more