pub enum Lz4Profile {
Speed,
Size,
Balanced,
Unknown,
}Expand description
High-level LZ4 usage profile.
Variants§
Speed
Prefer compression speed.
Size
Prefer compressed size.
Balanced
Balance speed and size.
Unknown
Unknown or intentionally unspecified profile.
Implementations§
Trait Implementations§
Source§impl Clone for Lz4Profile
impl Clone for Lz4Profile
Source§fn clone(&self) -> Lz4Profile
fn clone(&self) -> Lz4Profile
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 Lz4Profile
impl Debug for Lz4Profile
Source§impl Default for Lz4Profile
impl Default for Lz4Profile
Source§fn default() -> Lz4Profile
fn default() -> Lz4Profile
Returns the “default value” for a type. Read more
Source§impl Hash for Lz4Profile
impl Hash for Lz4Profile
Source§impl Ord for Lz4Profile
impl Ord for Lz4Profile
Source§fn cmp(&self, other: &Lz4Profile) -> Ordering
fn cmp(&self, other: &Lz4Profile) -> 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 Lz4Profile
impl PartialEq for Lz4Profile
Source§fn eq(&self, other: &Lz4Profile) -> bool
fn eq(&self, other: &Lz4Profile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Lz4Profile
impl PartialOrd for Lz4Profile
impl Copy for Lz4Profile
impl Eq for Lz4Profile
impl StructuralPartialEq for Lz4Profile
Auto Trait Implementations§
impl Freeze for Lz4Profile
impl RefUnwindSafe for Lz4Profile
impl Send for Lz4Profile
impl Sync for Lz4Profile
impl Unpin for Lz4Profile
impl UnsafeUnpin for Lz4Profile
impl UnwindSafe for Lz4Profile
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