pub enum VersionStatus {
Verified,
Newer,
Older,
Unrecognized,
}Expand description
How an installed CLI relates to the release this crate was verified against.
Variants§
Verified
Exactly the verified release. Mappings are known good.
Newer
Newer. The likely direction of drift: flags may have been renamed, replaced, or moved between subcommands.
Older
Older. Flags this crate relies on may not exist yet.
Unrecognized
The CLI answered, but no version could be read out of it.
Implementations§
Source§impl VersionStatus
impl VersionStatus
Sourcepub fn is_verified(self) -> bool
pub fn is_verified(self) -> bool
Whether mappings are known good for this version.
Trait Implementations§
Source§impl Clone for VersionStatus
impl Clone for VersionStatus
Source§fn clone(&self) -> VersionStatus
fn clone(&self) -> VersionStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VersionStatus
Source§impl Debug for VersionStatus
impl Debug for VersionStatus
impl Eq for VersionStatus
Source§impl PartialEq for VersionStatus
impl PartialEq for VersionStatus
impl StructuralPartialEq for VersionStatus
Auto Trait Implementations§
impl Freeze for VersionStatus
impl RefUnwindSafe for VersionStatus
impl Send for VersionStatus
impl Sync for VersionStatus
impl Unpin for VersionStatus
impl UnsafeUnpin for VersionStatus
impl UnwindSafe for VersionStatus
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