pub enum Disagreement {
Version {
name: String,
pinned: String,
locked: String,
},
Checksum {
name: String,
version: String,
pinned: String,
locked: String,
},
}Expand description
How a pinned crate and the lockfile disagree.
Variants§
Version
Same name, different version — the drift that goes unnoticed.
Checksum
Same name and version, different bytes. Rarer and more serious: two different artifacts are claiming one identity.
Trait Implementations§
Source§impl Clone for Disagreement
impl Clone for Disagreement
Source§fn clone(&self) -> Disagreement
fn clone(&self) -> Disagreement
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 moreSource§impl Debug for Disagreement
impl Debug for Disagreement
Source§impl Display for Disagreement
impl Display for Disagreement
impl Eq for Disagreement
Source§impl PartialEq for Disagreement
impl PartialEq for Disagreement
impl StructuralPartialEq for Disagreement
Auto Trait Implementations§
impl Freeze for Disagreement
impl RefUnwindSafe for Disagreement
impl Send for Disagreement
impl Sync for Disagreement
impl Unpin for Disagreement
impl UnsafeUnpin for Disagreement
impl UnwindSafe for Disagreement
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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