pub struct ZstdConfig {
pub level: i32,
pub checksum: bool,
}Expand description
Configuration for the Zstd compressor.
Fields§
§level: i32§checksum: boolTrait Implementations§
Source§impl Clone for ZstdConfig
impl Clone for ZstdConfig
Source§fn clone(&self) -> ZstdConfig
fn clone(&self) -> ZstdConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ZstdConfig
impl Debug for ZstdConfig
Auto Trait Implementations§
impl Freeze for ZstdConfig
impl RefUnwindSafe for ZstdConfig
impl Send for ZstdConfig
impl Sync for ZstdConfig
impl Unpin for ZstdConfig
impl UnsafeUnpin for ZstdConfig
impl UnwindSafe for ZstdConfig
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