pub enum DecodingErrorKind {
PacketType,
OrderingGuarantee,
DeliveryGuarantee,
}Expand description
Errors that could occur while parsing packet contents
Variants§
PacketType
The PacketType could not be read
OrderingGuarantee
The OrderingGuarantee could not be read
DeliveryGuarantee
The DeliveryGuarantee could not be read
Trait Implementations§
Source§impl Clone for DecodingErrorKind
impl Clone for DecodingErrorKind
Source§fn clone(&self) -> DecodingErrorKind
fn clone(&self) -> DecodingErrorKind
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 DecodingErrorKind
impl Debug for DecodingErrorKind
Source§impl Display for DecodingErrorKind
impl Display for DecodingErrorKind
Source§impl PartialEq for DecodingErrorKind
impl PartialEq for DecodingErrorKind
impl Eq for DecodingErrorKind
impl StructuralPartialEq for DecodingErrorKind
Auto Trait Implementations§
impl Freeze for DecodingErrorKind
impl RefUnwindSafe for DecodingErrorKind
impl Send for DecodingErrorKind
impl Sync for DecodingErrorKind
impl Unpin for DecodingErrorKind
impl UnwindSafe for DecodingErrorKind
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