pub struct ZstdTunables {
pub quality: u8,
}Expand description
ZSTD tunables: quality (level proxy). Default 2 (Fastest) — since omnizip 0.21.12+ every level >= L3 runs the optimal parser (~16x slower at our chunk sizes), so the default deliberately sits in the only remaining fast tier. Independent of the brotli quality knob; the two scales diverged and were decoupled.
Fields§
§quality: u8Trait Implementations§
Source§impl Clone for ZstdTunables
impl Clone for ZstdTunables
Source§fn clone(&self) -> ZstdTunables
fn clone(&self) -> ZstdTunables
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 ZstdTunables
impl Debug for ZstdTunables
Source§impl Default for ZstdTunables
impl Default for ZstdTunables
Source§impl<'de> Deserialize<'de> for ZstdTunables
impl<'de> Deserialize<'de> for ZstdTunables
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ZstdTunables
Source§impl PartialEq for ZstdTunables
impl PartialEq for ZstdTunables
Source§impl Serialize for ZstdTunables
impl Serialize for ZstdTunables
impl StructuralPartialEq for ZstdTunables
Auto Trait Implementations§
impl Freeze for ZstdTunables
impl RefUnwindSafe for ZstdTunables
impl Send for ZstdTunables
impl Sync for ZstdTunables
impl Unpin for ZstdTunables
impl UnsafeUnpin for ZstdTunables
impl UnwindSafe for ZstdTunables
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more