pub enum GwilymDecodeError {
NoVersion,
WrongVersion,
LengthWrong(usize),
}Variants§
Trait Implementations§
Source§impl Debug for GwilymDecodeError
impl Debug for GwilymDecodeError
Source§impl Display for GwilymDecodeError
impl Display for GwilymDecodeError
Source§impl Error for GwilymDecodeError
impl Error for GwilymDecodeError
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()
Auto Trait Implementations§
impl Freeze for GwilymDecodeError
impl RefUnwindSafe for GwilymDecodeError
impl Send for GwilymDecodeError
impl Sync for GwilymDecodeError
impl Unpin for GwilymDecodeError
impl UnsafeUnpin for GwilymDecodeError
impl UnwindSafe for GwilymDecodeError
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