#[non_exhaustive]pub enum Done {
Installed,
Updated {
from: Version,
},
Overwritten,
Removed,
Changed,
Failed(String),
}Expand description
What happened.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Installed
Installed.
Updated
Updated from an older version.
Overwritten
A modified copy was replaced on explicit request.
Removed
Removed.
Changed
Nothing was written: the place changed after the assessment, and what is there now was put back untouched. Assessing again shows what it is.
Failed(String)
Writing failed; the place is as it was before.
Trait Implementations§
impl Eq for Done
impl StructuralPartialEq for Done
Auto Trait Implementations§
impl Freeze for Done
impl RefUnwindSafe for Done
impl Send for Done
impl Sync for Done
impl Unpin for Done
impl UnsafeUnpin for Done
impl UnwindSafe for Done
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