[][src]Enum async_fsw::MetadataKind

pub enum MetadataKind {
    Any,
    AccessTime,
    WriteTime,
    Permissions,
    Ownership,
    Extended,
    Other,
}

An event emitted when the metadata of a file or folder is changed.

Variants

Any

The catch-all case, to be used when the specific kind of event is unknown.

AccessTime

An event emitted when the access time of the file or folder is changed.

WriteTime

An event emitted when the write or modify time of the file or folder is changed.

Permissions

An event emitted when the permissions of the file or folder are changed.

Ownership

An event emitted when the ownership of the file or folder is changed.

Extended

An event emitted when an extended attribute of the file or folder is changed.

If the extended attribute's name or type is known, it should be provided in the Info event attribute.

Other

An event which specific kind is known but cannot be represented otherwise.

Trait Implementations

impl Clone for MetadataKind[src]

impl Debug for MetadataKind[src]

impl Eq for MetadataKind[src]

impl Hash for MetadataKind[src]

impl PartialEq<MetadataKind> for MetadataKind[src]

impl StructuralEq for MetadataKind[src]

impl StructuralPartialEq for MetadataKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.