pub struct TimedSpan {
pub id: usize,
pub callsite: &'static CallSite,
pub elapsed: Duration,
pub called: u32,
}Expand description
TimedSpan contains all data related to a single function or span inside
the global call graph.
Fields§
§id: usizeUnique identifier of this function/span in the call graph
callsite: &'static CallSiteCallSite associated with this function/span
elapsed: DurationTotal elapsed time inside this function/span
called: u32Number of times this function/span have been called
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimedSpan
impl RefUnwindSafe for TimedSpan
impl Send for TimedSpan
impl Sync for TimedSpan
impl Unpin for TimedSpan
impl UnwindSafe for TimedSpan
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