pub enum ZstdFrameKind {
Standard,
SingleSegment,
Skippable,
Unknown,
}Expand description
Zstd frame shape labels.
Variants§
Standard
Standard zstd frame.
SingleSegment
Single segment zstd frame.
Skippable
Skippable zstd frame.
Unknown
Unknown or intentionally unspecified frame kind.
Implementations§
Trait Implementations§
Source§impl Clone for ZstdFrameKind
impl Clone for ZstdFrameKind
Source§fn clone(&self) -> ZstdFrameKind
fn clone(&self) -> ZstdFrameKind
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 ZstdFrameKind
impl Debug for ZstdFrameKind
Source§impl Default for ZstdFrameKind
impl Default for ZstdFrameKind
Source§fn default() -> ZstdFrameKind
fn default() -> ZstdFrameKind
Returns the “default value” for a type. Read more
Source§impl Hash for ZstdFrameKind
impl Hash for ZstdFrameKind
Source§impl Ord for ZstdFrameKind
impl Ord for ZstdFrameKind
Source§fn cmp(&self, other: &ZstdFrameKind) -> Ordering
fn cmp(&self, other: &ZstdFrameKind) -> 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 ZstdFrameKind
impl PartialEq for ZstdFrameKind
Source§fn eq(&self, other: &ZstdFrameKind) -> bool
fn eq(&self, other: &ZstdFrameKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ZstdFrameKind
impl PartialOrd for ZstdFrameKind
impl Copy for ZstdFrameKind
impl Eq for ZstdFrameKind
impl StructuralPartialEq for ZstdFrameKind
Auto Trait Implementations§
impl Freeze for ZstdFrameKind
impl RefUnwindSafe for ZstdFrameKind
impl Send for ZstdFrameKind
impl Sync for ZstdFrameKind
impl Unpin for ZstdFrameKind
impl UnsafeUnpin for ZstdFrameKind
impl UnwindSafe for ZstdFrameKind
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