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