pub struct ReaderStats {
pub bytes_read: u64,
pub blocks_parsed: u64,
pub crc_errors: u64,
pub parse_errors: u64,
pub bytes_skipped: u64,
}Expand description
Reader statistics
Fields§
§bytes_read: u64Total bytes read from source
blocks_parsed: u64Number of blocks successfully parsed
crc_errors: u64Number of CRC errors
parse_errors: u64Number of parse errors
bytes_skipped: u64Bytes skipped looking for sync
Trait Implementations§
Source§impl Clone for ReaderStats
impl Clone for ReaderStats
Source§fn clone(&self) -> ReaderStats
fn clone(&self) -> ReaderStats
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 ReaderStats
impl Debug for ReaderStats
Source§impl Default for ReaderStats
impl Default for ReaderStats
Source§fn default() -> ReaderStats
fn default() -> ReaderStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReaderStats
impl RefUnwindSafe for ReaderStats
impl Send for ReaderStats
impl Sync for ReaderStats
impl Unpin for ReaderStats
impl UnsafeUnpin for ReaderStats
impl UnwindSafe for ReaderStats
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