pub struct TestError {
pub message: String,
pub location: Option<String>,
}Expand description
Error details for a failed test
Fields§
§message: String§location: Option<String>Trait Implementations§
impl StructuralPartialEq for TestError
Auto Trait Implementations§
impl Freeze for TestError
impl RefUnwindSafe for TestError
impl Send for TestError
impl Sync for TestError
impl Unpin for TestError
impl UnsafeUnpin for TestError
impl UnwindSafe for TestError
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