pub struct StreamCounters {
pub bytes_in: Arc<AtomicU64>,
pub bytes_out: Arc<AtomicU64>,
}Expand description
Byte counters the supervisor accumulates across all streams.
Fields§
§bytes_in: Arc<AtomicU64>§bytes_out: Arc<AtomicU64>Trait Implementations§
Source§impl Clone for StreamCounters
impl Clone for StreamCounters
Source§fn clone(&self) -> StreamCounters
fn clone(&self) -> StreamCounters
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 StreamCounters
impl Debug for StreamCounters
Source§impl Default for StreamCounters
impl Default for StreamCounters
Source§fn default() -> StreamCounters
fn default() -> StreamCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamCounters
impl RefUnwindSafe for StreamCounters
impl Send for StreamCounters
impl Sync for StreamCounters
impl Unpin for StreamCounters
impl UnsafeUnpin for StreamCounters
impl UnwindSafe for StreamCounters
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