#[repr(u32)]pub enum PredsyncDecodeErrorKind {
None = 0,
TooShort = 1,
CrcMismatch = 2,
UnknownMessage = 3,
Malformed = 4,
StaleFrame = 5,
}Expand description
The named decoder failure behind PredsyncStatus::DecodeError.
Variants§
None = 0
No error.
TooShort = 1
Frame too short.
CrcMismatch = 2
CRC mismatch.
UnknownMessage = 3
Unknown message ID.
Malformed = 4
Structurally invalid field.
StaleFrame = 5
Late frame.
Trait Implementations§
Source§impl Clone for PredsyncDecodeErrorKind
impl Clone for PredsyncDecodeErrorKind
impl Copy for PredsyncDecodeErrorKind
Source§impl Debug for PredsyncDecodeErrorKind
impl Debug for PredsyncDecodeErrorKind
impl Eq for PredsyncDecodeErrorKind
Source§impl PartialEq for PredsyncDecodeErrorKind
impl PartialEq for PredsyncDecodeErrorKind
impl StructuralPartialEq for PredsyncDecodeErrorKind
Auto Trait Implementations§
impl Freeze for PredsyncDecodeErrorKind
impl RefUnwindSafe for PredsyncDecodeErrorKind
impl Send for PredsyncDecodeErrorKind
impl Sync for PredsyncDecodeErrorKind
impl Unpin for PredsyncDecodeErrorKind
impl UnsafeUnpin for PredsyncDecodeErrorKind
impl UnwindSafe for PredsyncDecodeErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.