pub enum AssertionStatus {
Fail,
Miss,
Pass,
}Expand description
Pass/fail/miss status for an assertion in the report.
Variants§
Fail
Assertion contract violated (always-type failed, or unreachable reached).
Miss
Coverage assertion never satisfied (sometimes/reachable never triggered).
Pass
Assertion contract satisfied.
Trait Implementations§
Source§impl Clone for AssertionStatus
impl Clone for AssertionStatus
Source§fn clone(&self) -> AssertionStatus
fn clone(&self) -> AssertionStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 AssertionStatus
impl Debug for AssertionStatus
Source§impl Ord for AssertionStatus
impl Ord for AssertionStatus
Source§fn cmp(&self, other: &AssertionStatus) -> Ordering
fn cmp(&self, other: &AssertionStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssertionStatus
impl PartialEq for AssertionStatus
Source§impl PartialOrd for AssertionStatus
impl PartialOrd for AssertionStatus
impl Copy for AssertionStatus
impl Eq for AssertionStatus
impl StructuralPartialEq for AssertionStatus
Auto Trait Implementations§
impl Freeze for AssertionStatus
impl RefUnwindSafe for AssertionStatus
impl Send for AssertionStatus
impl Sync for AssertionStatus
impl Unpin for AssertionStatus
impl UnsafeUnpin for AssertionStatus
impl UnwindSafe for AssertionStatus
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