pub struct ZstdCompressor {
pub config: ZstdConfig,
}Expand description
Zstd compressor stub.
Fields§
§config: ZstdConfigImplementations§
Source§impl ZstdCompressor
impl ZstdCompressor
pub fn new(config: ZstdConfig) -> Self
pub fn default_compressor() -> Self
pub fn with_level(level: i32) -> Self
Trait Implementations§
Source§impl Clone for ZstdCompressor
impl Clone for ZstdCompressor
Source§fn clone(&self) -> ZstdCompressor
fn clone(&self) -> ZstdCompressor
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 moreAuto Trait Implementations§
impl Freeze for ZstdCompressor
impl RefUnwindSafe for ZstdCompressor
impl Send for ZstdCompressor
impl Sync for ZstdCompressor
impl Unpin for ZstdCompressor
impl UnsafeUnpin for ZstdCompressor
impl UnwindSafe for ZstdCompressor
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