pub struct ByteVecDecoderError(/* private fields */);Expand description
The error returned by the ByteVecDecoder.
Trait Implementations§
Source§impl Clone for ByteVecDecoderError
impl Clone for ByteVecDecoderError
Source§fn clone(&self) -> ByteVecDecoderError
fn clone(&self) -> ByteVecDecoderError
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 ByteVecDecoderError
impl Debug for ByteVecDecoderError
Source§impl Display for ByteVecDecoderError
Available on crate feature alloc only.
impl Display for ByteVecDecoderError
Available on crate feature
alloc only.Source§impl Error for ByteVecDecoderError
Available on crate features std and alloc only.
impl Error for ByteVecDecoderError
Available on crate features
std and alloc 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 From<Infallible> for ByteVecDecoderError
Available on crate feature alloc only.
impl From<Infallible> for ByteVecDecoderError
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 PartialEq for ByteVecDecoderError
impl PartialEq for ByteVecDecoderError
impl Eq for ByteVecDecoderError
impl StructuralPartialEq for ByteVecDecoderError
Auto Trait Implementations§
impl Freeze for ByteVecDecoderError
impl RefUnwindSafe for ByteVecDecoderError
impl Send for ByteVecDecoderError
impl Sync for ByteVecDecoderError
impl Unpin for ByteVecDecoderError
impl UnwindSafe for ByteVecDecoderError
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