pub struct StructuredFailure {
pub test: String,
pub error: StructuredError,
}Expand description
One structured failure: the test that produced it and its structured error.
Fields§
§test: StringThe libtest name of the failing test (module::path::test_name).
error: StructuredErrorThe structured error the test emitted on the channel.
Trait Implementations§
Source§impl Clone for StructuredFailure
impl Clone for StructuredFailure
Source§fn clone(&self) -> StructuredFailure
fn clone(&self) -> StructuredFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StructuredFailure
impl RefUnwindSafe for StructuredFailure
impl Send for StructuredFailure
impl Sync for StructuredFailure
impl Unpin for StructuredFailure
impl UnsafeUnpin for StructuredFailure
impl UnwindSafe for StructuredFailure
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