pub struct InvalidTypeOperation;
Expand description
SNAFU context selector for the DecodeError::InvalidTypeOperation
variant
Implementations§
Source§impl InvalidTypeOperation
impl InvalidTypeOperation
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 InvalidTypeOperation
impl Clone for InvalidTypeOperation
Source§fn clone(&self) -> InvalidTypeOperation
fn clone(&self) -> InvalidTypeOperation
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 InvalidTypeOperation
impl Debug for InvalidTypeOperation
Source§impl IntoError<DecodeError> for InvalidTypeOperation
impl IntoError<DecodeError> for InvalidTypeOperation
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 InvalidTypeOperation
Auto Trait Implementations§
impl Freeze for InvalidTypeOperation
impl RefUnwindSafe for InvalidTypeOperation
impl Send for InvalidTypeOperation
impl Sync for InvalidTypeOperation
impl Unpin for InvalidTypeOperation
impl UnwindSafe for InvalidTypeOperation
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