pub enum Lz4FrameKind {
Standard,
Legacy,
Skippable,
Block,
Unknown,
}Expand description
LZ4 frame kind labels.
Variants§
Standard
Standard LZ4 frame.
Legacy
Legacy LZ4 frame.
Skippable
Skippable frame.
Block
Raw block label.
Unknown
Unknown or intentionally unspecified frame kind.
Implementations§
Trait Implementations§
Source§impl Clone for Lz4FrameKind
impl Clone for Lz4FrameKind
Source§fn clone(&self) -> Lz4FrameKind
fn clone(&self) -> Lz4FrameKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Lz4FrameKind
impl Debug for Lz4FrameKind
Source§impl Default for Lz4FrameKind
impl Default for Lz4FrameKind
Source§fn default() -> Lz4FrameKind
fn default() -> Lz4FrameKind
Returns the “default value” for a type. Read more
Source§impl Hash for Lz4FrameKind
impl Hash for Lz4FrameKind
Source§impl Ord for Lz4FrameKind
impl Ord for Lz4FrameKind
Source§fn cmp(&self, other: &Lz4FrameKind) -> Ordering
fn cmp(&self, other: &Lz4FrameKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Lz4FrameKind
impl PartialEq for Lz4FrameKind
Source§fn eq(&self, other: &Lz4FrameKind) -> bool
fn eq(&self, other: &Lz4FrameKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Lz4FrameKind
impl PartialOrd for Lz4FrameKind
impl Copy for Lz4FrameKind
impl Eq for Lz4FrameKind
impl StructuralPartialEq for Lz4FrameKind
Auto Trait Implementations§
impl Freeze for Lz4FrameKind
impl RefUnwindSafe for Lz4FrameKind
impl Send for Lz4FrameKind
impl Sync for Lz4FrameKind
impl Unpin for Lz4FrameKind
impl UnsafeUnpin for Lz4FrameKind
impl UnwindSafe for Lz4FrameKind
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