Enum comfy_wgpu::notify::event::MetadataKind
pub enum MetadataKind {
Any,
AccessTime,
WriteTime,
Permissions,
Ownership,
Extended,
Other,
}Expand description
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
impl Clone for MetadataKind
§fn clone(&self) -> MetadataKind
fn clone(&self) -> MetadataKind
Returns a copy 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 more§impl Debug for MetadataKind
impl Debug for MetadataKind
§impl Hash for MetadataKind
impl Hash for MetadataKind
§impl PartialEq<MetadataKind> for MetadataKind
impl PartialEq<MetadataKind> for MetadataKind
§fn eq(&self, other: &MetadataKind) -> bool
fn eq(&self, other: &MetadataKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MetadataKind
impl Eq for MetadataKind
impl StructuralEq for MetadataKind
impl StructuralPartialEq for MetadataKind
Auto Trait Implementations§
impl RefUnwindSafe for MetadataKind
impl Send for MetadataKind
impl Sync for MetadataKind
impl Unpin for MetadataKind
impl UnwindSafe for MetadataKind
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.