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