pub struct TraceFrame {
pub call: Option<CtxSpan>,
pub repeat: u32,
pub within: FrameName,
}Expand description
A call an error unwound through.
Fields§
§call: Option<CtxSpan>The call’s span.
repeat: u32How many more times in a row the same call was unwound through.
within: FrameNameThe function the call is in.
Trait Implementations§
Source§impl Clone for TraceFrame
impl Clone for TraceFrame
Source§fn clone(&self) -> TraceFrame
fn clone(&self) -> TraceFrame
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 moreSource§impl Debug for TraceFrame
impl Debug for TraceFrame
impl Eq for TraceFrame
Source§impl PartialEq for TraceFrame
impl PartialEq for TraceFrame
Source§fn eq(&self, other: &TraceFrame) -> bool
fn eq(&self, other: &TraceFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TraceFrame
Auto Trait Implementations§
impl !RefUnwindSafe for TraceFrame
impl !Sync for TraceFrame
impl !UnwindSafe for TraceFrame
impl Freeze for TraceFrame
impl Send for TraceFrame
impl Unpin for TraceFrame
impl UnsafeUnpin for TraceFrame
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more