pub struct Codec { /* private fields */ }Implementations§
Source§impl Codec
impl Codec
pub fn new() -> CodecBuilder
pub fn context(&self) -> &Context
pub fn context_mut(&mut self) -> &mut Context
pub fn decoder(&self) -> &Decoder
pub fn decoder_mut(&mut self) -> &mut Decoder
pub fn encoder(&self) -> &Encoder
pub fn encoder_mut(&mut self) -> &mut Encoder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnwindSafe for Codec
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