pub struct ByteSourceReadStats { /* private fields */ }Expand description
Shared statistics handle for observed read activity.
Implementations§
Source§impl ByteSourceReadStats
impl ByteSourceReadStats
Sourcepub fn snapshot(&self) -> ByteSourceReadStatsSnapshot
pub fn snapshot(&self) -> ByteSourceReadStatsSnapshot
Capture the current statistics snapshot.
Trait Implementations§
Source§impl Clone for ByteSourceReadStats
impl Clone for ByteSourceReadStats
Source§fn clone(&self) -> ByteSourceReadStats
fn clone(&self) -> ByteSourceReadStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ByteSourceReadStats
impl Debug for ByteSourceReadStats
Source§impl Default for ByteSourceReadStats
impl Default for ByteSourceReadStats
Source§fn default() -> ByteSourceReadStats
fn default() -> ByteSourceReadStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ByteSourceReadStats
impl RefUnwindSafe for ByteSourceReadStats
impl Send for ByteSourceReadStats
impl Sync for ByteSourceReadStats
impl Unpin for ByteSourceReadStats
impl UnsafeUnpin for ByteSourceReadStats
impl UnwindSafe for ByteSourceReadStats
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