pub struct MultiCodec { /* private fields */ }Expand description
A codec that combines multiple codecs.
Routes encode/decode to the appropriate codec based on format.
Implementations§
Source§impl MultiCodec
impl MultiCodec
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MultiCodec
impl !UnwindSafe for MultiCodec
impl Freeze for MultiCodec
impl Send for MultiCodec
impl Sync for MultiCodec
impl Unpin for MultiCodec
impl UnsafeUnpin for MultiCodec
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