Struct libtest_mimic::Failed
source · pub struct Failed { /* private fields */ }
Expand description
Indicates that a test/benchmark has failed. Optionally carries a message.
You usually want to use the From
impl of this type, which allows you to
convert any T: fmt::Display
(e.g. String
, &str
, …) into Failed
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Failed
impl Send for Failed
impl Sync for Failed
impl Unpin for Failed
impl UnwindSafe for Failed
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