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
sourceimpl Clone for DataChange
impl Clone for DataChange
sourcefn clone(&self) -> DataChange
fn clone(&self) -> DataChange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataChange
impl Debug for DataChange
sourceimpl Hash for DataChange
impl Hash for DataChange
sourceimpl PartialEq<DataChange> for DataChange
impl PartialEq<DataChange> for DataChange
impl Copy for DataChange
impl Eq for DataChange
impl StructuralEq for DataChange
impl StructuralPartialEq for DataChange
Auto Trait Implementations
impl RefUnwindSafe for DataChange
impl Send for DataChange
impl Sync for DataChange
impl Unpin for DataChange
impl UnwindSafe for DataChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more