pub struct SessionStats {
pub samples_total: u64,
pub samples_dropped: u64,
pub bytes_total: u64,
}Expand description
Counter-Snapshot.
Fields§
§samples_total: u64Anzahl erfolgreich geschriebener Samples.
samples_dropped: u64Anzahl droppter Samples (Topic nicht im Header).
bytes_total: u64Gesamte File-Bytes (inkl. Header).
Trait Implementations§
Source§impl Clone for SessionStats
impl Clone for SessionStats
Source§fn clone(&self) -> SessionStats
fn clone(&self) -> SessionStats
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 moreSource§impl Debug for SessionStats
impl Debug for SessionStats
Source§impl Default for SessionStats
impl Default for SessionStats
Source§fn default() -> SessionStats
fn default() -> SessionStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for SessionStats
impl PartialEq for SessionStats
Source§fn eq(&self, other: &SessionStats) -> bool
fn eq(&self, other: &SessionStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SessionStats
impl Eq for SessionStats
impl StructuralPartialEq for SessionStats
Auto Trait Implementations§
impl Freeze for SessionStats
impl RefUnwindSafe for SessionStats
impl Send for SessionStats
impl Sync for SessionStats
impl Unpin for SessionStats
impl UnsafeUnpin for SessionStats
impl UnwindSafe for SessionStats
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