pub struct ZSTD_format_e(/* private fields */);Implementations§
Source§impl ZSTD_format_e
impl ZSTD_format_e
Sourcepub const ZSTD_f_zstd1: Self
pub const ZSTD_f_zstd1: Self
zstd frame format, specified in zstd_compression_format.md (default)
Sourcepub const ZSTD_f_zstd1_magicless: Self
pub const ZSTD_f_zstd1_magicless: Self
Variant of zstd frame format, without initial 4-bytes magic number.
Useful to save 4 bytes per generated frame.
The decoder cannot recognize this format automatically, thus requiring this instruction.
Trait Implementations§
Source§impl From<ZSTD_format_e> for u32
impl From<ZSTD_format_e> for u32
Source§fn from(value: ZSTD_format_e) -> Self
fn from(value: ZSTD_format_e) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ZSTD_format_e
impl PartialEq for ZSTD_format_e
Source§fn eq(&self, other: &ZSTD_format_e) -> bool
fn eq(&self, other: &ZSTD_format_e) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ZSTD_format_e> for Format
impl TryFrom<ZSTD_format_e> for Format
impl StructuralPartialEq for ZSTD_format_e
Auto Trait Implementations§
impl Freeze for ZSTD_format_e
impl RefUnwindSafe for ZSTD_format_e
impl Send for ZSTD_format_e
impl Sync for ZSTD_format_e
impl Unpin for ZSTD_format_e
impl UnsafeUnpin for ZSTD_format_e
impl UnwindSafe for ZSTD_format_e
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