pub enum TestOutcome {
Passed,
Failed,
Skipped,
Errored,
ExpectedFailure,
UnexpectedPass,
}Expand description
Stable vocabulary for completed test outcomes.
Variants§
Implementations§
Source§impl TestOutcome
impl TestOutcome
pub const fn is_success(self) -> bool
pub const fn is_failure(self) -> bool
pub const fn is_terminal(self) -> bool
Trait Implementations§
Source§impl Clone for TestOutcome
impl Clone for TestOutcome
Source§fn clone(&self) -> TestOutcome
fn clone(&self) -> TestOutcome
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 TestOutcome
impl Debug for TestOutcome
Source§impl Hash for TestOutcome
impl Hash for TestOutcome
Source§impl PartialEq for TestOutcome
impl PartialEq for TestOutcome
impl Copy for TestOutcome
impl Eq for TestOutcome
impl StructuralPartialEq for TestOutcome
Auto Trait Implementations§
impl Freeze for TestOutcome
impl RefUnwindSafe for TestOutcome
impl Send for TestOutcome
impl Sync for TestOutcome
impl Unpin for TestOutcome
impl UnsafeUnpin for TestOutcome
impl UnwindSafe for TestOutcome
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