Enum picky::key::KeyError [−][src]
pub enum KeyError { Asn1Serialization { element: &'static str, source: Asn1DerError, }, Asn1Deserialization { element: &'static str, source: Asn1DerError, }, Rsa { context: String, }, InvalidPemLabel { label: String, }, UnsupportedAlgorithm { algorithm: &'static str, }, Pem { source: PemError, }, }
Variants
ASN1 serialization error
Show fields
Fields of Asn1Serialization
element: &'static str
source: Asn1DerError
ASN1 deserialization error
Show fields
Fields of Asn1Deserialization
element: &'static str
source: Asn1DerError
RSA error
Show fields
Fields of Rsa
context: String
invalid PEM label error
Show fields
Fields of InvalidPemLabel
label: String
unsupported algorithm
Show fields
Fields of UnsupportedAlgorithm
algorithm: &'static str
invalid PEM provided
Show fields
Fields of Pem
source: PemError
Trait Implementations
impl Error for KeyError
[src]
impl Error for KeyError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<KeyError> for SignatureError
[src]
impl From<KeyError> for SignatureError
[src]Auto Trait Implementations
impl !RefUnwindSafe for KeyError
impl Send for KeyError
impl Sync for KeyError
impl Unpin for KeyError
impl !UnwindSafe for KeyError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,