pub struct StreamReaderStats {
pub read: SizeAndStats,
}Expand description
Statistics about a stream writer.
Fields§
§read: SizeAndStatsStatistics about the read operation.
Implementations§
Source§impl StreamReaderStats
impl StreamReaderStats
Sourcepub fn total(&self) -> SizeAndStats
pub fn total(&self) -> SizeAndStats
Gives the total stats for this reader.
Trait Implementations§
Source§impl Add for StreamReaderStats
impl Add for StreamReaderStats
Source§type Output = StreamReaderStats
type Output = StreamReaderStats
The resulting type after applying the
+ operator.Source§impl AddAssign for StreamReaderStats
impl AddAssign for StreamReaderStats
Source§fn add_assign(&mut self, rhs: StreamReaderStats)
fn add_assign(&mut self, rhs: StreamReaderStats)
Performs the
+= operation. Read moreSource§impl Clone for StreamReaderStats
impl Clone for StreamReaderStats
Source§fn clone(&self) -> StreamReaderStats
fn clone(&self) -> StreamReaderStats
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 StreamReaderStats
impl Debug for StreamReaderStats
Source§impl Default for StreamReaderStats
impl Default for StreamReaderStats
Source§fn default() -> StreamReaderStats
fn default() -> StreamReaderStats
Returns the “default value” for a type. Read more
impl Copy for StreamReaderStats
Auto Trait Implementations§
impl Freeze for StreamReaderStats
impl RefUnwindSafe for StreamReaderStats
impl Send for StreamReaderStats
impl Sync for StreamReaderStats
impl Unpin for StreamReaderStats
impl UnwindSafe for StreamReaderStats
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