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 Freeze for Failed
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)