pub struct TimelineStats {
pub total_checkpoints: usize,
pub root_checkpoints: usize,
pub leaf_checkpoints: usize,
pub max_depth: usize,
pub total_branches: usize,
}Expand description
Timeline statistics
Fields§
§total_checkpoints: usizeTotal number of checkpoints
root_checkpoints: usizeNumber of root checkpoints
leaf_checkpoints: usizeNumber of leaf checkpoints (no children)
max_depth: usizeMaximum depth of the tree
total_branches: usizeNumber of branch points (checkpoints with multiple children)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimelineStats
impl RefUnwindSafe for TimelineStats
impl Send for TimelineStats
impl Sync for TimelineStats
impl Unpin for TimelineStats
impl UnsafeUnpin for TimelineStats
impl UnwindSafe for TimelineStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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