Struct wasm_tokio::cm::U8Codec
source · pub struct U8Codec;
Trait Implementations§
source§impl Decoder for U8Codec
impl Decoder for U8Codec
source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
impl Copy for U8Codec
impl Eq for U8Codec
impl StructuralPartialEq for U8Codec
Auto Trait Implementations§
impl Freeze for U8Codec
impl RefUnwindSafe for U8Codec
impl Send for U8Codec
impl Sync for U8Codec
impl Unpin for U8Codec
impl UnwindSafe for U8Codec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)