pub struct TestException(pub String);Expand description
An error made by a test, which compares by identity (new Exception() of upstream’s tests).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for TestException
impl Debug for TestException
Source§impl Display for TestException
impl Display for TestException
Source§impl Error for TestException
impl Error for TestException
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TestException
impl RefUnwindSafe for TestException
impl Send for TestException
impl Sync for TestException
impl Unpin for TestException
impl UnsafeUnpin for TestException
impl UnwindSafe for TestException
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