#[non_exhaustive]pub struct StreamAnalysis {
pub index: u64,
pub header: StreamHeader,
pub header_offset_in_bits: u64,
pub deflate_offset_in_bits: u64,
pub footer_offset_in_bits: u64,
pub uncompressed_offset_in_bytes: u64,
pub footer: StreamFooter,
pub compressed_size_in_bits: u64,
pub uncompressed_size_in_bytes: u64,
pub first_block_index: usize,
pub block_count: usize,
}Expand description
One gzip member, zlib stream, or raw-DEFLATE stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: u64Zero-based stream index.
header: StreamHeaderParsed container header.
header_offset_in_bits: u64Absolute compressed bit offset of the container header.
deflate_offset_in_bits: u64Absolute compressed bit offset of the first DEFLATE block.
Absolute compressed bit offset of the container trailer.
uncompressed_offset_in_bytes: u64Absolute decompressed byte offset where this stream begins.
Verified container trailer.
compressed_size_in_bits: u64Container size including header and trailer.
uncompressed_size_in_bytes: u64Output bytes produced by this stream.
first_block_index: usizeIndex of this stream’s first entry in Analysis::blocks.
block_count: usizeNumber of entries belonging to this stream.
Trait Implementations§
Source§impl Clone for StreamAnalysis
impl Clone for StreamAnalysis
Source§fn clone(&self) -> StreamAnalysis
fn clone(&self) -> StreamAnalysis
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 moreSource§impl Debug for StreamAnalysis
impl Debug for StreamAnalysis
impl Eq for StreamAnalysis
Source§impl PartialEq for StreamAnalysis
impl PartialEq for StreamAnalysis
impl StructuralPartialEq for StreamAnalysis
Auto Trait Implementations§
impl Freeze for StreamAnalysis
impl RefUnwindSafe for StreamAnalysis
impl Send for StreamAnalysis
impl Sync for StreamAnalysis
impl Unpin for StreamAnalysis
impl UnsafeUnpin for StreamAnalysis
impl UnwindSafe for StreamAnalysis
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