Struct object::read::CompressedData
source · [−]pub struct CompressedData<'data> {
pub format: CompressionFormat,
pub data: &'data [u8],
pub uncompressed_size: u64,
}
Expand description
Data that may be compressed.
Fields
format: CompressionFormat
The data compression format.
data: &'data [u8]
The compressed data.
uncompressed_size: u64
The uncompressed data size.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'data> RefUnwindSafe for CompressedData<'data>
impl<'data> Send for CompressedData<'data>
impl<'data> Sync for CompressedData<'data>
impl<'data> Unpin for CompressedData<'data>
impl<'data> UnwindSafe for CompressedData<'data>
Blanket Implementations
Mutably borrows from an owned value. Read more