pub enum SecretParseError {
Incomplete,
InvalidFingerprint(Baid64ParseError),
InvalidSecret(Baid64ParseError),
}Variants§
Incomplete
incomplete private key data.
InvalidFingerprint(Baid64ParseError)
invalid fingerprint data in private key - {0}.
InvalidSecret(Baid64ParseError)
invalid secret key data - {0}
Trait Implementations§
Source§impl Debug for SecretParseError
impl Debug for SecretParseError
Source§impl Display for SecretParseError
impl Display for SecretParseError
Source§impl Error for SecretParseError
impl Error for SecretParseError
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 From<Baid64ParseError> for SecretParseError
impl From<Baid64ParseError> for SecretParseError
Source§fn from(v: Baid64ParseError) -> Self
fn from(v: Baid64ParseError) -> Self
Converts to this type from the input type.
Source§impl From<SecretParseError> for Error
impl From<SecretParseError> for Error
Source§fn from(v: SecretParseError) -> Self
fn from(v: SecretParseError) -> Self
Converts to this type from the input type.
Source§impl From<SecretParseError> for String
impl From<SecretParseError> for String
Source§fn from(err: SecretParseError) -> Self
fn from(err: SecretParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecretParseError
impl !RefUnwindSafe for SecretParseError
impl Send for SecretParseError
impl Sync for SecretParseError
impl Unpin for SecretParseError
impl !UnwindSafe for SecretParseError
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