pub enum FileChangeType {
Created,
Changed,
Deleted,
Custom(u32),
}Expand description
The file event type
Variants§
Created
The file got created.
Changed
The file got changed.
Deleted
The file got deleted.
Custom(u32)
A custom value.
Trait Implementations§
Source§impl Clone for FileChangeType
impl Clone for FileChangeType
Source§fn clone(&self) -> FileChangeType
fn clone(&self) -> FileChangeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileChangeType
Source§impl Debug for FileChangeType
impl Debug for FileChangeType
Source§impl<'de> Deserialize<'de> for FileChangeType
impl<'de> Deserialize<'de> for FileChangeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileChangeType
Source§impl From<FileChangeType> for u32
impl From<FileChangeType> for u32
Source§fn from(e: FileChangeType) -> Self
fn from(e: FileChangeType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for FileChangeType
impl From<u32> for FileChangeType
Source§impl Hash for FileChangeType
impl Hash for FileChangeType
Source§impl PartialEq for FileChangeType
impl PartialEq for FileChangeType
Source§impl Serialize for FileChangeType
impl Serialize for FileChangeType
impl StructuralPartialEq for FileChangeType
Auto Trait Implementations§
impl Freeze for FileChangeType
impl RefUnwindSafe for FileChangeType
impl Send for FileChangeType
impl Sync for FileChangeType
impl Unpin for FileChangeType
impl UnsafeUnpin for FileChangeType
impl UnwindSafe for FileChangeType
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