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: usize§panic_count: usize§error_count: usize§restart_count: usizeTrait 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more