Struct cros_tracing::Trace
source · pub struct Trace {
identifier: u64,
name: String,
category: String,
category_id: usize,
}
Expand description
A trace context obtained from a trace_event!()
call.
Fields§
§identifier: u64
Unique identifier for the specific event.
name: String
Name of the trace event.
category: String
Category name to which the event belongs.
category_id: usize
Category ID to which the event belongs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe 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