pub struct TrafficStats {
pub bytes_sent: u64,
pub bytes_received: u64,
pub operations: u64,
}Expand description
Cumulative wire traffic for this logical client across reconnects.
Fields§
§bytes_sent: u64§bytes_received: u64§operations: u64Trait Implementations§
Source§impl Clone for TrafficStats
impl Clone for TrafficStats
Source§fn clone(&self) -> TrafficStats
fn clone(&self) -> TrafficStats
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 TrafficStats
Source§impl Debug for TrafficStats
impl Debug for TrafficStats
Source§impl Default for TrafficStats
impl Default for TrafficStats
Source§fn default() -> TrafficStats
fn default() -> TrafficStats
Returns the “default value” for a type. Read more
impl Eq for TrafficStats
Source§impl PartialEq for TrafficStats
impl PartialEq for TrafficStats
impl StructuralPartialEq for TrafficStats
Auto Trait Implementations§
impl Freeze for TrafficStats
impl RefUnwindSafe for TrafficStats
impl Send for TrafficStats
impl Sync for TrafficStats
impl Unpin for TrafficStats
impl UnsafeUnpin for TrafficStats
impl UnwindSafe for TrafficStats
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