Struct wasm_tokio::cm::ResultDecoder
source · pub struct ResultDecoder<O, E> { /* private fields */ }
Implementations§
source§impl<O, E> ResultDecoder<O, E>
impl<O, E> ResultDecoder<O, E>
source§impl<O, E> ResultDecoder<O, E>
impl<O, E> ResultDecoder<O, E>
Trait Implementations§
source§impl<O, E> Decoder for ResultDecoder<O, E>
impl<O, E> Decoder for ResultDecoder<O, E>
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
Auto Trait Implementations§
impl<O, E> Freeze for ResultDecoder<O, E>
impl<O, E> RefUnwindSafe for ResultDecoder<O, E>where
O: RefUnwindSafe,
E: RefUnwindSafe,
impl<O, E> Send for ResultDecoder<O, E>
impl<O, E> Sync for ResultDecoder<O, E>
impl<O, E> Unpin for ResultDecoder<O, E>
impl<O, E> UnwindSafe for ResultDecoder<O, E>where
O: UnwindSafe,
E: UnwindSafe,
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