pub enum Change {
Addition {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Deletion {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Modification {
previous_entry_mode: EntryMode,
previous_oid: ObjectId,
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
}
Expand description
A Change as observed by a call to visit(…)
, enhanced with the path affected by the change.
Its similar to visit::Change but includes the path that changed.
Variants
Addition
Deletion
Modification
Trait Implementations
impl Eq for Change
impl StructuralEq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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