pub struct InputThreadStats {
pub total_events: usize,
pub panic_count: usize,
pub error_count: usize,
pub restart_count: usize,
}Expand description
Statistics for monitoring input thread health
Fields§
§total_events: usizeTotal number of events processed by the input thread
panic_count: usizeNumber of panics that occurred in the input thread
error_count: usizeNumber of recoverable errors that occurred
restart_count: usizeNumber of times the input thread was restarted
Trait Implementations§
Source§impl Clone for InputThreadStats
impl Clone for InputThreadStats
Source§fn clone(&self) -> InputThreadStats
fn clone(&self) -> InputThreadStats
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 InputThreadStats
impl Debug for InputThreadStats
Source§impl Default for InputThreadStats
impl Default for InputThreadStats
Source§fn default() -> InputThreadStats
fn default() -> InputThreadStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputThreadStats
impl RefUnwindSafe for InputThreadStats
impl Send for InputThreadStats
impl Sync for InputThreadStats
impl Unpin for InputThreadStats
impl UnwindSafe for InputThreadStats
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> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter