pub struct LogContextStats {
    pub polls: u64,
    pub cpu_time: Duration,
    pub elapsed: Duration,
}Expand description
A snapshot of a log context statistics
Fields§
§polls: u64How many times the context was polled
cpu_time: DurationThe approximate CPU time spent in the context
elapsed: DurationHow much time elapsed since the context was created
Trait Implementations§
Source§impl Clone for LogContextStats
 
impl Clone for LogContextStats
Source§fn clone(&self) -> LogContextStats
 
fn clone(&self) -> LogContextStats
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for LogContextStats
 
impl Debug for LogContextStats
Source§impl Display for LogContextStats
 
impl Display for LogContextStats
impl Copy for LogContextStats
Auto Trait Implementations§
impl Freeze for LogContextStats
impl RefUnwindSafe for LogContextStats
impl Send for LogContextStats
impl Sync for LogContextStats
impl Unpin for LogContextStats
impl UnwindSafe for LogContextStats
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