pub struct Trace {
pub frames: Vec<TraceFrame>,
pub omitted: Option<(usize, u32)>,
pub refuted: Option<Refutation>,
}Expand description
What an error unwound through on its way to the top: see
Ctx::take_trace.
Fields§
§frames: Vec<TraceFrame>The calls it unwound through, the failing call first.
omitted: Option<(usize, u32)>How many frames were dropped, and where among frames they were, if
the trace was too long to keep.
refuted: Option<Refutation>For a .no_match, what refuted which value.
Trait Implementations§
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl !RefUnwindSafe for Trace
impl !Send for Trace
impl !Sync for Trace
impl !UnwindSafe for Trace
impl Freeze for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
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