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