pub struct MethodsMetadataDecoder<'a, 'metadata> { /* private fields */ }Implementations§
Source§impl<'a, 'metadata> MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> MethodsMetadataDecoder<'a, 'metadata>
Sourcepub fn remaining_methods(&self) -> u8
pub fn remaining_methods(&self) -> u8
Remaining methods in the decoder
Sourcepub fn remaining_metadata_bytes(&self) -> usize
pub fn remaining_metadata_bytes(&self) -> usize
The number of bytes left in the metadata that were not processed yet
pub fn decode_next<'b>( &'b mut self, ) -> Option<MethodMetadataDecoder<'b, 'metadata>>
Trait Implementations§
Source§impl<'a, 'metadata> Debug for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> Debug for MethodsMetadataDecoder<'a, 'metadata>
Auto Trait Implementations§
impl<'a, 'metadata> Freeze for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> RefUnwindSafe for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> Send for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> Sync for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> Unpin for MethodsMetadataDecoder<'a, 'metadata>
impl<'a, 'metadata> !UnwindSafe for MethodsMetadataDecoder<'a, 'metadata>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more