pub enum BinaryDecodeError {
UnexpectedEof,
InvalidFrameKind(u8),
InvalidCallsiteKind(u8),
InvalidLevel(u8),
InvalidFieldType(u8),
InvalidUtf8,
}Expand description
Error returned when decoding binary frames.
Variants§
UnexpectedEof
InvalidFrameKind(u8)
InvalidCallsiteKind(u8)
InvalidLevel(u8)
InvalidFieldType(u8)
InvalidUtf8
Trait Implementations§
Source§impl Clone for BinaryDecodeError
impl Clone for BinaryDecodeError
Source§fn clone(&self) -> BinaryDecodeError
fn clone(&self) -> BinaryDecodeError
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 BinaryDecodeError
impl Debug for BinaryDecodeError
Source§impl Display for BinaryDecodeError
impl Display for BinaryDecodeError
Source§impl PartialEq for BinaryDecodeError
impl PartialEq for BinaryDecodeError
impl Eq for BinaryDecodeError
impl StructuralPartialEq for BinaryDecodeError
Auto Trait Implementations§
impl Freeze for BinaryDecodeError
impl RefUnwindSafe for BinaryDecodeError
impl Send for BinaryDecodeError
impl Sync for BinaryDecodeError
impl Unpin for BinaryDecodeError
impl UnsafeUnpin for BinaryDecodeError
impl UnwindSafe for BinaryDecodeError
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