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