pub struct RecordStats {
pub bytes: u64,
pub connections: u32,
pub failures: u32,
}Expand description
Aggregate outcome of a full recording run.
Fields§
§bytes: u64Total bytes written to the sink across all connections.
connections: u32Successful stream opens.
failures: u32Failed attempts (an open error, or a mid-stream read error).
Trait Implementations§
Source§impl Debug for RecordStats
impl Debug for RecordStats
Source§impl Default for RecordStats
impl Default for RecordStats
Source§fn default() -> RecordStats
fn default() -> RecordStats
Returns the “default value” for a type. Read more
impl Eq for RecordStats
Source§impl PartialEq for RecordStats
impl PartialEq for RecordStats
Source§fn eq(&self, other: &RecordStats) -> bool
fn eq(&self, other: &RecordStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordStats
Auto Trait Implementations§
impl Freeze for RecordStats
impl RefUnwindSafe for RecordStats
impl Send for RecordStats
impl Sync for RecordStats
impl Unpin for RecordStats
impl UnsafeUnpin for RecordStats
impl UnwindSafe for RecordStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.