pub enum ValueMode {
Duration,
Cpu,
Allocations,
Deallocations,
PersistentAllocations,
AllocationCount,
Count,
AllocationsPerTime,
PersistentAllocationsPerTime,
AllocationCountPerTime,
}
Variants§
Duration
Cpu
Allocations
Deallocations
PersistentAllocations
AllocationCount
Count
AllocationsPerTime
PersistentAllocationsPerTime
AllocationCountPerTime
Implementations§
Source§impl ValueMode
impl ValueMode
fn secondary(&self) -> ValueMode
fn value_from_span(&self, span: &SpanRef<'_>) -> u64
fn value_from_graph(&self, graph: &SpanGraphRef<'_>) -> u64
fn value_from_graph_event(&self, event: &SpanGraphEventRef<'_>) -> u64
fn value_from_bottom_up(&self, bottom_up: &SpanBottomUpRef<'_>) -> u64
fn value_from_bottom_up_span(&self, bottom_up_span: &SpanRef<'_>) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueMode
impl RefUnwindSafe for ValueMode
impl Send for ValueMode
impl Sync for ValueMode
impl Unpin for ValueMode
impl UnwindSafe for ValueMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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