pub enum Status {
Ours,
Missing,
Foreign,
Stale,
}Expand description
What one name resolves to.
Variants§
Ours
This program, at this version.
Missing
Nothing on PATH answers to the name.
Foreign
Something else wins: another package’s program, or a file that
does not answer --version in our shape.
Stale
Ours, but another version: a second install is ahead on PATH.
Trait Implementations§
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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