pub struct Passthrough;Trait Implementations§
Source§impl Codec for Passthrough
impl Codec for Passthrough
Source§fn compress<'life0, 'async_trait>(
&'life0 self,
input: Bytes,
) -> Pin<Box<dyn Future<Output = Result<(Bytes, ChunkManifest), CodecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compress<'life0, 'async_trait>(
&'life0 self,
input: Bytes,
) -> Pin<Box<dyn Future<Output = Result<(Bytes, ChunkManifest), CodecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
圧縮: 入力 bytes → 圧縮済 bytes + manifest
Source§fn decompress<'life0, 'life1, 'async_trait>(
&'life0 self,
input: Bytes,
manifest: &'life1 ChunkManifest,
) -> Pin<Box<dyn Future<Output = Result<Bytes, CodecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn decompress<'life0, 'life1, 'async_trait>(
&'life0 self,
input: Bytes,
manifest: &'life1 ChunkManifest,
) -> Pin<Box<dyn Future<Output = Result<Bytes, CodecError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
解凍: 圧縮済 bytes + manifest → 元の bytes
Auto Trait Implementations§
impl Freeze for Passthrough
impl RefUnwindSafe for Passthrough
impl Send for Passthrough
impl Sync for Passthrough
impl Unpin for Passthrough
impl UnsafeUnpin for Passthrough
impl UnwindSafe for Passthrough
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