pub struct SpanGraph {Show 18 fields
pub root_spans: Vec<NonZeroUsize>,
pub recursive_spans: Vec<NonZeroUsize>,
pub max_depth: OnceLock<u32>,
pub events: OnceLock<Vec<SpanGraphEvent>>,
pub self_time: OnceLock<Timestamp>,
pub self_allocations: OnceLock<u64>,
pub self_deallocations: OnceLock<u64>,
pub self_persistent_allocations: OnceLock<u64>,
pub self_allocation_count: OnceLock<u64>,
pub total_time: OnceLock<Timestamp>,
pub total_allocations: OnceLock<u64>,
pub total_deallocations: OnceLock<u64>,
pub total_persistent_allocations: OnceLock<u64>,
pub total_allocation_count: OnceLock<u64>,
pub total_span_count: OnceLock<u64>,
pub corrected_self_time: OnceLock<Timestamp>,
pub corrected_total_time: OnceLock<Timestamp>,
pub bottom_up: OnceLock<Vec<Arc<SpanBottomUp>>>,
}
Fields§
§root_spans: Vec<NonZeroUsize>
§recursive_spans: Vec<NonZeroUsize>
§max_depth: OnceLock<u32>
§events: OnceLock<Vec<SpanGraphEvent>>
§self_time: OnceLock<Timestamp>
§self_allocations: OnceLock<u64>
§self_deallocations: OnceLock<u64>
§self_persistent_allocations: OnceLock<u64>
§self_allocation_count: OnceLock<u64>
§total_time: OnceLock<Timestamp>
§total_allocations: OnceLock<u64>
§total_deallocations: OnceLock<u64>
§total_persistent_allocations: OnceLock<u64>
§total_allocation_count: OnceLock<u64>
§total_span_count: OnceLock<u64>
§corrected_self_time: OnceLock<Timestamp>
§corrected_total_time: OnceLock<Timestamp>
§bottom_up: OnceLock<Vec<Arc<SpanBottomUp>>>
Auto Trait Implementations§
impl !Freeze for SpanGraph
impl RefUnwindSafe for SpanGraph
impl Send for SpanGraph
impl Sync for SpanGraph
impl Unpin for SpanGraph
impl UnwindSafe for SpanGraph
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more