#[non_exhaustive]pub struct ResyncStats {
pub packets: u64,
pub resyncs: u64,
pub dropped_bytes: u64,
}Expand description
Counters accumulated during resynchronisation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.packets: u64Total 188-byte TS packets emitted.
resyncs: u64Times sync was lost and reacquired.
dropped_bytes: u64Bytes skipped/dropped (junk before lock + sync-loss bytes).
Trait Implementations§
Source§impl Clone for ResyncStats
impl Clone for ResyncStats
Source§fn clone(&self) -> ResyncStats
fn clone(&self) -> ResyncStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResyncStats
Source§impl Debug for ResyncStats
impl Debug for ResyncStats
Source§impl Default for ResyncStats
impl Default for ResyncStats
Source§fn default() -> ResyncStats
fn default() -> ResyncStats
Returns the “default value” for a type. Read more
impl Eq for ResyncStats
Source§impl PartialEq for ResyncStats
impl PartialEq for ResyncStats
Source§fn eq(&self, other: &ResyncStats) -> bool
fn eq(&self, other: &ResyncStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResyncStats
impl Serialize for ResyncStats
impl StructuralPartialEq for ResyncStats
Auto Trait Implementations§
impl Freeze for ResyncStats
impl RefUnwindSafe for ResyncStats
impl Send for ResyncStats
impl Sync for ResyncStats
impl Unpin for ResyncStats
impl UnsafeUnpin for ResyncStats
impl UnwindSafe for ResyncStats
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