#[non_exhaustive]pub enum KeriDecodeError {
InvalidPrefix(char),
EmptyInput,
DecodeError(String),
InvalidLength(usize),
}Expand description
Errors from decoding a KERI-encoded Ed25519 public key.
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 AuthsErrorInfo for KeriDecodeError
impl AuthsErrorInfo for KeriDecodeError
Source§fn error_code(&self) -> &'static str
fn error_code(&self) -> &'static str
Returns a unique error code string for this error variant.
Source§fn suggestion(&self) -> Option<&'static str>
fn suggestion(&self) -> Option<&'static str>
Returns an optional actionable suggestion for resolving the error.
Source§impl Clone for KeriDecodeError
impl Clone for KeriDecodeError
Source§fn clone(&self) -> KeriDecodeError
fn clone(&self) -> KeriDecodeError
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 KeriDecodeError
impl Debug for KeriDecodeError
Source§impl Display for KeriDecodeError
impl Display for KeriDecodeError
Source§impl Error for KeriDecodeError
impl Error for KeriDecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for KeriDecodeError
impl PartialEq for KeriDecodeError
impl Eq for KeriDecodeError
impl StructuralPartialEq for KeriDecodeError
Auto Trait Implementations§
impl Freeze for KeriDecodeError
impl RefUnwindSafe for KeriDecodeError
impl Send for KeriDecodeError
impl Sync for KeriDecodeError
impl Unpin for KeriDecodeError
impl UnsafeUnpin for KeriDecodeError
impl UnwindSafe for KeriDecodeError
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