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