pub enum Prior {
Absent,
Backup {
point: String,
},
Identical,
}Expand description
What was at a path before the installer first wrote it, which decides what uninstall does.
Variants§
Absent
Nothing: uninstall deletes the file.
Backup
Another file, copied into this restore point, named per file because a path replaced in several runs has a copy in each.
Identical
Exactly these bytes, so nothing was copied: uninstall puts the same bytes back from the package’s payload, or leaves the file when that is gone.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prior
impl<'de> Deserialize<'de> for Prior
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Prior
impl StructuralPartialEq for Prior
Auto Trait Implementations§
impl Freeze for Prior
impl RefUnwindSafe for Prior
impl Send for Prior
impl Sync for Prior
impl Unpin for Prior
impl UnsafeUnpin for Prior
impl UnwindSafe for Prior
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