pub enum TraceRecord {
NewSpan {
id: u64,
meta: SpanMeta,
},
Record {
span_id: u64,
fields: Vec<Field>,
},
Event(EventMeta),
Enter {
span_id: u64,
},
Exit {
span_id: u64,
},
DropSpan {
span_id: u64,
},
}Expand description
Collected trace data for inspection/testing.
Variants§
Trait Implementations§
Source§impl Clone for TraceRecord
impl Clone for TraceRecord
Source§fn clone(&self) -> TraceRecord
fn clone(&self) -> TraceRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 TraceRecord
impl RefUnwindSafe for TraceRecord
impl Send for TraceRecord
impl Sync for TraceRecord
impl Unpin for TraceRecord
impl UnwindSafe for TraceRecord
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