pub(crate) enum Lz4BlockSize {
Max64KiB,
Max256KiB,
Max1MiB,
Max4MiB,
}Expand description
LZ4 frame block sizes representable by the frame header. See the LZ4 frame format for the
block size codes; lz4_flex’s 8 MiB option sets a reserved bit, which the decoder rejects.
Variants§
Implementations§
Source§impl Lz4BlockSize
impl Lz4BlockSize
Trait Implementations§
Source§impl Clone for Lz4BlockSize
impl Clone for Lz4BlockSize
impl Copy for Lz4BlockSize
Source§impl Debug for Lz4BlockSize
impl Debug for Lz4BlockSize
impl Eq for Lz4BlockSize
Source§impl PartialEq for Lz4BlockSize
impl PartialEq for Lz4BlockSize
impl StructuralPartialEq for Lz4BlockSize
Auto Trait Implementations§
impl Forget for Lz4BlockSize
impl Freeze for Lz4BlockSize
impl Move for Lz4BlockSize
impl RefUnwindSafe for Lz4BlockSize
impl Send for Lz4BlockSize
impl Sync for Lz4BlockSize
impl Unpin for Lz4BlockSize
impl UnsafeUnpin for Lz4BlockSize
impl UnwindSafe for Lz4BlockSize
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more