pub enum FrameFormat {
Standard,
Magicless,
}Expand description
Frame layout: standard (4-byte magic number first) or the reference’s
“magicless” variant (ZSTD_f_zstd1_magicless), which omits the magic number.
Magicless frames save 4 bytes per frame when both ends agree on the format out
of band; they cannot be mixed with skippable frames.
Variants§
Standard
RFC 8878 frames, starting with the magic number.
Magicless
Frames without the magic number.
Trait Implementations§
Source§impl Clone for FrameFormat
impl Clone for FrameFormat
impl Copy for FrameFormat
Source§impl Debug for FrameFormat
impl Debug for FrameFormat
impl Eq for FrameFormat
Source§impl PartialEq for FrameFormat
impl PartialEq for FrameFormat
impl StructuralPartialEq for FrameFormat
Auto Trait Implementations§
impl Freeze for FrameFormat
impl RefUnwindSafe for FrameFormat
impl Send for FrameFormat
impl Sync for FrameFormat
impl Unpin for FrameFormat
impl UnsafeUnpin for FrameFormat
impl UnwindSafe for FrameFormat
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