pub struct ChannelErrorSummary {
pub channel_id: u8,
pub consecutive_errors: u32,
pub total_successes: u64,
pub total_failures: u64,
pub window_error_count: usize,
pub restart_triggered: bool,
pub last_success_elapsed_ms: Option<u64>,
pub last_error_elapsed_ms: Option<u64>,
pub category_counts: [(ErrorCategory, u64); 6],
}Expand description
Per-channel error summary.
Fields§
§channel_id: u8§consecutive_errors: u32§total_successes: u64§total_failures: u64§window_error_count: usize§restart_triggered: bool§last_success_elapsed_ms: Option<u64>§last_error_elapsed_ms: Option<u64>§category_counts: [(ErrorCategory, u64); 6]Trait Implementations§
Source§impl Clone for ChannelErrorSummary
impl Clone for ChannelErrorSummary
Source§fn clone(&self) -> ChannelErrorSummary
fn clone(&self) -> ChannelErrorSummary
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 moreAuto Trait Implementations§
impl Freeze for ChannelErrorSummary
impl RefUnwindSafe for ChannelErrorSummary
impl Send for ChannelErrorSummary
impl Sync for ChannelErrorSummary
impl Unpin for ChannelErrorSummary
impl UnsafeUnpin for ChannelErrorSummary
impl UnwindSafe for ChannelErrorSummary
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