Enum lzfse_rust::VnErrorKind
source · #[non_exhaustive]
pub enum VnErrorKind {
BadPayloadCount(u32),
BadPayload,
BadOpcode,
}
Expand description
VN error kinds.
Low-level error kinds. As a general rule, these should not be matched against.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for VnErrorKind
impl Clone for VnErrorKind
source§fn clone(&self) -> VnErrorKind
fn clone(&self) -> VnErrorKind
Returns a copy 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 VnErrorKind
impl Debug for VnErrorKind
source§impl Display for VnErrorKind
impl Display for VnErrorKind
source§impl From<VnErrorKind> for Error
impl From<VnErrorKind> for Error
source§fn from(err: VnErrorKind) -> Error
fn from(err: VnErrorKind) -> Error
Converts to this type from the input type.
source§impl PartialEq<VnErrorKind> for VnErrorKind
impl PartialEq<VnErrorKind> for VnErrorKind
source§fn eq(&self, other: &VnErrorKind) -> bool
fn eq(&self, other: &VnErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.