pub struct ZstdCodec<P: Primitive> { /* private fields */ }
Trait Implementations§
Source§impl<P: Primitive<A = u8>> Codec for ZstdCodec<P>
impl<P: Primitive<A = u8>> Codec for ZstdCodec<P>
type P = P
fn compress_atoms(&self, atoms: &[u8]) -> CoreResult<Vec<u8>>
fn decompress_atoms(&self, bytes: &[u8]) -> CoreResult<Vec<u8>>
Auto Trait Implementations§
impl<P> Freeze for ZstdCodec<P>
impl<P> RefUnwindSafe for ZstdCodec<P>where
P: RefUnwindSafe,
impl<P> Send for ZstdCodec<P>
impl<P> Sync for ZstdCodec<P>
impl<P> Unpin for ZstdCodec<P>where
P: Unpin,
impl<P> UnwindSafe for ZstdCodec<P>where
P: UnwindSafe,
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