pub struct DecodeReport {
pub compressed_bytes: u64,
pub decompressed_bytes: u64,
pub member_count: u64,
pub decoder_threads: usize,
pub format: Format,
pub line_count: Option<u64>,
}Expand description
Statistics produced after the complete stream has been verified.
Fields§
§compressed_bytes: u64Compressed bytes consumed.
decompressed_bytes: u64Decompressed bytes emitted.
member_count: u64Number of completed framing units: gzip members, or one zlib/raw stream.
A raw-DEFLATE unit is structurally complete but has no container checksum to authenticate it.
decoder_threads: usizeConfigured decoder-worker budget.
format: FormatConcrete container framing that was decoded.
line_count: Option<u64>Newline bytes in the decoded output when line counting was enabled.
Enable this with
DecoderBuilder::count_lines.
The value counts b'\n' bytes; a final unterminated line does not add
one to the count.
Trait Implementations§
Source§impl AsRef<DecodeReport> for DecodeReport
impl AsRef<DecodeReport> for DecodeReport
Source§fn as_ref(&self) -> &DecodeReport
fn as_ref(&self) -> &DecodeReport
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<DecodeReport> for IndexedDecodeReport
impl AsRef<DecodeReport> for IndexedDecodeReport
Source§fn as_ref(&self) -> &DecodeReport
fn as_ref(&self) -> &DecodeReport
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for DecodeReport
impl Clone for DecodeReport
Source§fn clone(&self) -> DecodeReport
fn clone(&self) -> DecodeReport
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 moreimpl Copy for DecodeReport
Source§impl Debug for DecodeReport
impl Debug for DecodeReport
Source§impl Default for DecodeReport
impl Default for DecodeReport
Source§fn default() -> DecodeReport
fn default() -> DecodeReport
Returns the “default value” for a type. Read more
impl Eq for DecodeReport
Source§impl PartialEq for DecodeReport
impl PartialEq for DecodeReport
impl StructuralPartialEq for DecodeReport
Auto Trait Implementations§
impl Freeze for DecodeReport
impl RefUnwindSafe for DecodeReport
impl Send for DecodeReport
impl Sync for DecodeReport
impl Unpin for DecodeReport
impl UnsafeUnpin for DecodeReport
impl UnwindSafe for DecodeReport
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