pub enum Reversal {
NothingToUndo,
Removed {
path: PathBuf,
},
Restored {
path: PathBuf,
},
Retained {
path: PathBuf,
detail: String,
},
}Expand description
What undoing a RootAccessChange achieved.
Variants§
NothingToUndo
There was nothing to undo, or nothing had been changed.
Removed
A directory this operation created was removed again.
Restored
A descriptor this operation replaced was written back.
Retained
Something is left behind, and here is exactly what.
This is the “report any non-reversible existing directory state explicitly” half of the requirement. It is never silent.
Trait Implementations§
impl Eq for Reversal
impl StructuralPartialEq for Reversal
Auto Trait Implementations§
impl Freeze for Reversal
impl RefUnwindSafe for Reversal
impl Send for Reversal
impl Sync for Reversal
impl Unpin for Reversal
impl UnsafeUnpin for Reversal
impl UnwindSafe for Reversal
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