pub struct Frame {
pub header: FrameHeader,
}
Expand description
Zstandard compressed data is made of one or more Frames. Each frame is independent and can be decompressed independently of other frames.
There are two frame formats defined by Zstandard: Zstandard frames and Skippable frames. Zstandard frames contain compressed data, while skippable frames contain custom user metadata.
This structure contains the header of the frame.
https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#frames
Fields§
§header: FrameHeader
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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