pub struct UnknownEncodingVersion(pub u8);
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Debug for UnknownEncodingVersion
impl Debug for UnknownEncodingVersion
Source§impl Display for UnknownEncodingVersion
impl Display for UnknownEncodingVersion
Source§impl Error for UnknownEncodingVersion
impl Error for UnknownEncodingVersion
1.30.0 · 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<UnknownEncodingVersion> for DecodeError
impl From<UnknownEncodingVersion> for DecodeError
Source§fn from(source: UnknownEncodingVersion) -> Self
fn from(source: UnknownEncodingVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnknownEncodingVersion
impl RefUnwindSafe for UnknownEncodingVersion
impl Send for UnknownEncodingVersion
impl Sync for UnknownEncodingVersion
impl Unpin for UnknownEncodingVersion
impl UnwindSafe for UnknownEncodingVersion
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