pub enum WireCodecError {
Oversized,
Version,
Kind,
Trailing,
Encoding(Error),
}Variants§
Trait Implementations§
Source§impl Debug for WireCodecError
impl Debug for WireCodecError
Source§impl Display for WireCodecError
impl Display for WireCodecError
Source§impl Error for WireCodecError
impl Error for WireCodecError
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<Error> for WireCodecError
impl From<Error> for WireCodecError
Source§fn from(source: Error) -> WireCodecError
fn from(source: Error) -> WireCodecError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WireCodecError
impl RefUnwindSafe for WireCodecError
impl Send for WireCodecError
impl Sync for WireCodecError
impl Unpin for WireCodecError
impl UnsafeUnpin for WireCodecError
impl UnwindSafe for WireCodecError
Blanket Implementations§
impl<T> Allocation for T
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