pub struct FrameSessionMetrics { /* private fields */ }Expand description
Read-only liveness and connectivity metrics for a FrameSession.
Implementations§
Source§impl FrameSessionMetrics
impl FrameSessionMetrics
Sourcepub fn last_loop_activity(&self) -> Option<Instant>
pub fn last_loop_activity(&self) -> Option<Instant>
Returns the last time the scheduler thread showed progress.
Sourcepub fn last_write_success(&self) -> Option<Instant>
pub fn last_write_success(&self) -> Option<Instant>
Returns the last time a backend write completed successfully.
Trait Implementations§
Source§impl Clone for FrameSessionMetrics
impl Clone for FrameSessionMetrics
Source§fn clone(&self) -> FrameSessionMetrics
fn clone(&self) -> FrameSessionMetrics
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 moreAuto Trait Implementations§
impl Freeze for FrameSessionMetrics
impl RefUnwindSafe for FrameSessionMetrics
impl Send for FrameSessionMetrics
impl Sync for FrameSessionMetrics
impl Unpin for FrameSessionMetrics
impl UnsafeUnpin for FrameSessionMetrics
impl UnwindSafe for FrameSessionMetrics
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