Enum fire_crypto::error::DecodeError [−][src]
#[non_exhaustive]
pub enum DecodeError {
InvalidLength,
InvalidBytes,
}Expand description
Either the length or the format of a slice is incorrect
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.
InvalidLength
InvalidBytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnwindSafe for DecodeError
Blanket Implementations
Mutably borrows from an owned value. Read more