pub enum RawKeyError {
InvalidFormat(String),
VerificationFailed,
EncodingError(String),
DecodingError(String),
}
Expand description
Errors that can occur during raw public key operations
Variants§
Trait Implementations§
Source§impl Debug for RawKeyError
impl Debug for RawKeyError
Source§impl Display for RawKeyError
impl Display for RawKeyError
Source§impl Error for RawKeyError
impl Error for RawKeyError
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()
Auto Trait Implementations§
impl Freeze for RawKeyError
impl RefUnwindSafe for RawKeyError
impl Send for RawKeyError
impl Sync for RawKeyError
impl Unpin for RawKeyError
impl UnwindSafe for RawKeyError
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