pub enum DataChange {
Any,
Size,
Content,
Other,
}
Expand description
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§
Source§impl Clone for DataChange
impl Clone for DataChange
Source§fn clone(&self) -> DataChange
fn clone(&self) -> DataChange
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 moreSource§impl Debug for DataChange
impl Debug for DataChange
Source§impl Hash for DataChange
impl Hash for DataChange
Source§impl PartialEq for DataChange
impl PartialEq for DataChange
impl Copy for DataChange
impl Eq for DataChange
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 UnwindSafe for DataChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)