pub struct DecoderError {
pub code: DecoderErrorCode,
pub message: Cow<'static, str>,
}
Expand description
Structure for encoding errors
Fields§
§code: DecoderErrorCode
The error code
message: Cow<'static, str>
Associated error message
Trait Implementations§
Source§impl Clone for DecoderError
impl Clone for DecoderError
Source§fn clone(&self) -> DecoderError
fn clone(&self) -> DecoderError
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 DecoderError
impl Debug for DecoderError
Auto Trait Implementations§
impl Freeze for DecoderError
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
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