pub struct Utf8Codec;
Trait Implementations§
Source§impl Decoder for Utf8Codec
impl Decoder for Utf8Codec
Source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<<Utf8Codec as Decoder>::Item>, <Utf8Codec as Decoder>::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<<Utf8Codec as Decoder>::Item>, <Utf8Codec as Decoder>::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
impl Copy for Utf8Codec
impl Eq for Utf8Codec
impl StructuralPartialEq for Utf8Codec
Auto Trait Implementations§
impl Freeze for Utf8Codec
impl RefUnwindSafe for Utf8Codec
impl Send for Utf8Codec
impl Sync for Utf8Codec
impl Unpin for Utf8Codec
impl UnwindSafe for Utf8Codec
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