pub struct VecDecoderError<Err>(/* private fields */);Expand description
The error returned by the VecDecoder.
Trait Implementations§
Source§impl<Err: Clone> Clone for VecDecoderError<Err>
impl<Err: Clone> Clone for VecDecoderError<Err>
Source§fn clone(&self) -> VecDecoderError<Err>
fn clone(&self) -> VecDecoderError<Err>
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<Err: Debug> Debug for VecDecoderError<Err>
impl<Err: Debug> Debug for VecDecoderError<Err>
Source§impl<Err> Display for VecDecoderError<Err>
Available on crate feature alloc only.
impl<Err> Display for VecDecoderError<Err>
Available on crate feature
alloc only.Source§impl<Err> Error for VecDecoderError<Err>where
Err: Error + 'static,
Available on crate feature std only.
impl<Err> Error for VecDecoderError<Err>where
Err: Error + 'static,
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<Err> From<Infallible> for VecDecoderError<Err>
Available on crate feature alloc only.
impl<Err> From<Infallible> for VecDecoderError<Err>
Available on crate feature
alloc only.Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl<Err: PartialEq> PartialEq for VecDecoderError<Err>
impl<Err: PartialEq> PartialEq for VecDecoderError<Err>
impl<Err: Eq> Eq for VecDecoderError<Err>
impl<Err> StructuralPartialEq for VecDecoderError<Err>
Auto Trait Implementations§
impl<Err> Freeze for VecDecoderError<Err>where
Err: Freeze,
impl<Err> RefUnwindSafe for VecDecoderError<Err>where
Err: RefUnwindSafe,
impl<Err> Send for VecDecoderError<Err>where
Err: Send,
impl<Err> Sync for VecDecoderError<Err>where
Err: Sync,
impl<Err> Unpin for VecDecoderError<Err>where
Err: Unpin,
impl<Err> UnwindSafe for VecDecoderError<Err>where
Err: UnwindSafe,
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