pub struct EventStats {
pub total_events: usize,
pub task_spawns: usize,
pub task_completions: usize,
pub reactor_polls: usize,
pub errors: usize,
pub warnings: usize,
}Expand description
Summary statistics from the event log.
Fields§
§total_events: usizeTotal events captured.
task_spawns: usizeTask spawns.
task_completions: usizeTask completions.
reactor_polls: usizeReactor polls.
errors: usizeErrors logged.
warnings: usizeWarnings logged.
Trait Implementations§
Source§impl Clone for EventStats
impl Clone for EventStats
Source§fn clone(&self) -> EventStats
fn clone(&self) -> EventStats
Returns a duplicate 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 EventStats
impl Debug for EventStats
Auto Trait Implementations§
impl Freeze for EventStats
impl RefUnwindSafe for EventStats
impl Send for EventStats
impl Sync for EventStats
impl Unpin for EventStats
impl UnwindSafe for EventStats
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).