#[non_exhaustive]pub struct UnblockedCheck {
pub total: usize,
pub confirmed: usize,
pub unconfirmed: Vec<UnblockedPair>,
}Expand description
The result of checking the report’s unblocked_* fields against the graph the log gave.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total: usizeHow many pairs the report recorded.
confirmed: usizeHow many of them the graph agrees are dependencies.
unconfirmed: Vec<UnblockedPair>The ones it does not, which is a defect in the parser rather than in Cargo.
Implementations§
Source§impl UnblockedCheck
impl UnblockedCheck
Sourcepub fn is_consistent(&self) -> bool
pub fn is_consistent(&self) -> bool
Whether every pair the report recorded is a dependency the graph has.
Trait Implementations§
Source§impl Clone for UnblockedCheck
impl Clone for UnblockedCheck
Source§impl Debug for UnblockedCheck
impl Debug for UnblockedCheck
impl Eq for UnblockedCheck
Source§impl PartialEq for UnblockedCheck
impl PartialEq for UnblockedCheck
impl StructuralPartialEq for UnblockedCheck
Auto Trait Implementations§
impl Freeze for UnblockedCheck
impl RefUnwindSafe for UnblockedCheck
impl Send for UnblockedCheck
impl Sync for UnblockedCheck
impl Unpin for UnblockedCheck
impl UnsafeUnpin for UnblockedCheck
impl UnwindSafe for UnblockedCheck
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