pub struct InvalidOptionU32;
Expand description
SNAFU context selector for the DecodeError::InvalidOptionU32
variant
Implementations§
Source§impl InvalidOptionU32
impl InvalidOptionU32
Sourcepub fn build(self) -> DecodeError
pub fn build(self) -> DecodeError
Consume the selector and return the associated error
Sourcepub fn fail<__T>(self) -> Result<__T, DecodeError>
pub fn fail<__T>(self) -> Result<__T, DecodeError>
Consume the selector and return a Result
with the associated error
Trait Implementations§
Source§impl Clone for InvalidOptionU32
impl Clone for InvalidOptionU32
Source§fn clone(&self) -> InvalidOptionU32
fn clone(&self) -> InvalidOptionU32
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 Debug for InvalidOptionU32
impl Debug for InvalidOptionU32
Source§impl IntoError<DecodeError> for InvalidOptionU32
impl IntoError<DecodeError> for InvalidOptionU32
Source§fn into_error(self, error: Self::Source) -> DecodeError
fn into_error(self, error: Self::Source) -> DecodeError
Combine the information to produce the error
impl Copy for InvalidOptionU32
Auto Trait Implementations§
impl Freeze for InvalidOptionU32
impl RefUnwindSafe for InvalidOptionU32
impl Send for InvalidOptionU32
impl Sync for InvalidOptionU32
impl Unpin for InvalidOptionU32
impl UnwindSafe for InvalidOptionU32
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