pub enum InvalidErrorKind {
Invalid(String),
Checksum,
}Expand description
An InvalidErrorKind is returned when the data is invalid.
Variants§
Trait Implementations§
Source§impl Debug for InvalidErrorKind
impl Debug for InvalidErrorKind
Source§impl Display for InvalidErrorKind
impl Display for InvalidErrorKind
Source§impl PartialEq for InvalidErrorKind
impl PartialEq for InvalidErrorKind
Source§fn eq(&self, other: &InvalidErrorKind) -> bool
fn eq(&self, other: &InvalidErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InvalidErrorKind
impl StructuralPartialEq for InvalidErrorKind
Auto Trait Implementations§
impl Freeze for InvalidErrorKind
impl RefUnwindSafe for InvalidErrorKind
impl Send for InvalidErrorKind
impl Sync for InvalidErrorKind
impl Unpin for InvalidErrorKind
impl UnsafeUnpin for InvalidErrorKind
impl UnwindSafe for InvalidErrorKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.