pub enum BinaryError {
Io(Error),
Malformed(String),
InvalidLino(String),
LimitExceeded(String),
Unencodable(String),
}Expand description
A failure while encoding or decoding a packet or LiNo document.
Variants§
Trait Implementations§
Source§impl Debug for BinaryError
impl Debug for BinaryError
Source§impl Display for BinaryError
impl Display for BinaryError
Source§impl Error for BinaryError
impl Error for BinaryError
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 !RefUnwindSafe for BinaryError
impl !UnwindSafe for BinaryError
impl Freeze for BinaryError
impl Send for BinaryError
impl Sync for BinaryError
impl Unpin for BinaryError
impl UnsafeUnpin for BinaryError
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