Enum notify::event::DataChange
source · 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
)