pub struct SnappyCompressor {
pub config: SnappyConfig,
}Expand description
Snappy compressor stub.
Fields§
§config: SnappyConfigImplementations§
Source§impl SnappyCompressor
impl SnappyCompressor
pub fn new(config: SnappyConfig) -> Self
pub fn default_compressor() -> Self
Trait Implementations§
Source§impl Clone for SnappyCompressor
impl Clone for SnappyCompressor
Source§fn clone(&self) -> SnappyCompressor
fn clone(&self) -> SnappyCompressor
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 SnappyCompressor
impl RefUnwindSafe for SnappyCompressor
impl Send for SnappyCompressor
impl Sync for SnappyCompressor
impl Unpin for SnappyCompressor
impl UnsafeUnpin for SnappyCompressor
impl UnwindSafe for SnappyCompressor
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