pub enum Completion {
Completed,
Ignored {
reason: Option<String>,
},
}Expand description
A representation of whether a test ran to completion or was ignored during its runtime.
Variants§
Implementations§
Source§impl Completion
impl Completion
Sourcepub fn ignored_with(reason: impl ToString) -> Self
pub fn ignored_with(reason: impl ToString) -> Self
Returns Self::Ignored with the given reason.
Auto Trait Implementations§
impl Freeze for Completion
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
impl UnwindSafe for Completion
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