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