pub struct TimerObservabilitySnapshot { /* private fields */ }Expand description
Epoch-scoped outcomes, counters, and performance for one timer.
Implementations§
Source§impl TimerObservabilitySnapshot
impl TimerObservabilitySnapshot
Sourcepub const fn epoch(self) -> TimerEpoch
pub const fn epoch(self) -> TimerEpoch
Return the observation epoch.
Sourcepub const fn outcomes(self) -> TimerOutcomeSnapshot
pub const fn outcomes(self) -> TimerOutcomeSnapshot
Return latest outcomes and functional failure state.
Sourcepub const fn counters(self) -> TimerCounters
pub const fn counters(self) -> TimerCounters
Return epoch-local event counters.
Sourcepub const fn performance(self) -> TimerPerformance
pub const fn performance(self) -> TimerPerformance
Return completed instruction and memory-page measurements.
Trait Implementations§
Source§impl Clone for TimerObservabilitySnapshot
impl Clone for TimerObservabilitySnapshot
Source§fn clone(&self) -> TimerObservabilitySnapshot
fn clone(&self) -> TimerObservabilitySnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerObservabilitySnapshot
Source§impl Debug for TimerObservabilitySnapshot
impl Debug for TimerObservabilitySnapshot
impl Eq for TimerObservabilitySnapshot
impl StructuralPartialEq for TimerObservabilitySnapshot
Auto Trait Implementations§
impl Freeze for TimerObservabilitySnapshot
impl RefUnwindSafe for TimerObservabilitySnapshot
impl Send for TimerObservabilitySnapshot
impl Sync for TimerObservabilitySnapshot
impl Unpin for TimerObservabilitySnapshot
impl UnsafeUnpin for TimerObservabilitySnapshot
impl UnwindSafe for TimerObservabilitySnapshot
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