pub enum State {
Missing,
UpToDate,
Outdated,
Modified,
Foreign,
Orphaned,
}Expand description
What is already present at a destination.
The name it prints comes from the variant, through std::fmt::Display.
Variants§
Missing
Nothing is installed there yet.
UpToDate
The installed copy matches the embedded skill.
Outdated
This tool installed it and it is not what the binary would write now. The binary carries a newer copy, or a file lost the executable bit it was installed with.
Modified
This tool installed it and the files were edited afterwards.
Foreign
Something else owns a skill of that name there.
Orphaned
This tool wrote it, it is still byte for byte what was written, and the binary no longer carries a skill of that name. An earlier version installed it and nothing would reach the directory again.
Implementations§
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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