pub enum BinaryCodecError {
OutOfRange(String),
FieldOrder(String),
InvalidField(String),
InvalidLength(String),
FieldNotFound(String),
InsufficientBytes(String),
Overflow,
}Variants§
OutOfRange(String)
FieldOrder(String)
InvalidField(String)
InvalidLength(String)
FieldNotFound(String)
InsufficientBytes(String)
Overflow
Trait Implementations§
Source§impl Clone for BinaryCodecError
impl Clone for BinaryCodecError
Source§fn clone(&self) -> BinaryCodecError
fn clone(&self) -> BinaryCodecError
Returns a duplicate 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 BinaryCodecError
impl Debug for BinaryCodecError
Source§impl Display for BinaryCodecError
impl Display for BinaryCodecError
Source§impl Error for BinaryCodecError
impl Error for BinaryCodecError
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 PartialEq for BinaryCodecError
impl PartialEq for BinaryCodecError
impl StructuralPartialEq for BinaryCodecError
Auto Trait Implementations§
impl Freeze for BinaryCodecError
impl RefUnwindSafe for BinaryCodecError
impl Send for BinaryCodecError
impl Sync for BinaryCodecError
impl Unpin for BinaryCodecError
impl UnwindSafe for BinaryCodecError
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