[−][src]Struct reqray::CallPathTiming
A CallPathTiming is an aggregation of all spans with the same
call path. That means that their callsite::Identifier
is
the same and all the callsite::Identifier
s of their ancestor
spans are also the same.
Implementations
impl CallPathTiming
[src]
pub fn static_span_meta(&self) -> &'static Metadata<'static>
[src]
The metadata associated with the called instrumented span, includes e.g. the name of the function that is being executed.
pub fn call_count(&self) -> usize
[src]
The number of times a new span with this call path was created.
Typically, the number of times a function was called.
pub fn sum_with_children(&self) -> Duration
[src]
The total sum of durations between entering and leaving spans with this call path. The time spent in sub spans is included.
pub fn sum_without_children(&self) -> Duration
[src]
The total sum of durations between entering and leaving spans with this call path but the durations where we entered a sub span are excluded.
pub fn children(&self) -> impl Iterator<Item = &CallPathPoolId>
[src]
An iterator over the IDs of all children.
Trait Implementations
impl Clone for CallPathTiming
[src]
pub fn clone(&self) -> CallPathTiming
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CallPathTiming
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CallPathTiming
[src]
impl Send for CallPathTiming
[src]
impl Sync for CallPathTiming
[src]
impl Unpin for CallPathTiming
[src]
impl !UnwindSafe for CallPathTiming
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,