Struct wasm_tokio::cm::FlagDecoder
source · pub struct FlagDecoder<const N: usize>;
Trait Implementations§
source§impl<const N: usize> Clone for FlagDecoder<N>
impl<const N: usize> Clone for FlagDecoder<N>
source§fn clone(&self) -> FlagDecoder<N>
fn clone(&self) -> FlagDecoder<N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const N: usize> Debug for FlagDecoder<N>
impl<const N: usize> Debug for FlagDecoder<N>
source§impl<const N: usize> Decoder for FlagDecoder<N>
impl<const N: usize> Decoder for FlagDecoder<N>
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
source§impl<const N: usize> Default for FlagDecoder<N>
impl<const N: usize> Default for FlagDecoder<N>
source§fn default() -> FlagDecoder<N>
fn default() -> FlagDecoder<N>
Returns the “default value” for a type. Read more
source§impl<const N: usize> PartialEq for FlagDecoder<N>
impl<const N: usize> PartialEq for FlagDecoder<N>
impl<const N: usize> Copy for FlagDecoder<N>
impl<const N: usize> Eq for FlagDecoder<N>
impl<const N: usize> StructuralPartialEq for FlagDecoder<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for FlagDecoder<N>
impl<const N: usize> RefUnwindSafe for FlagDecoder<N>
impl<const N: usize> Send for FlagDecoder<N>
impl<const N: usize> Sync for FlagDecoder<N>
impl<const N: usize> Unpin for FlagDecoder<N>
impl<const N: usize> UnwindSafe for FlagDecoder<N>
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
)