pub enum Pkcs8Error {
InvalidLength,
InvalidSequence,
InvalidVersion,
InvalidAlgorithmIdentifier,
InvalidOctetString,
InvalidEcPrivateKey,
InvalidEcVersion,
InvalidPrivateKeyOctet,
InvalidPublicKeyExplicit,
InvalidPublicKeyBitString,
InvalidPublicKeyPrefix,
KeyDerivationFailed,
}Variants§
InvalidLength
InvalidSequence
InvalidVersion
InvalidAlgorithmIdentifier
InvalidOctetString
InvalidEcPrivateKey
InvalidEcVersion
InvalidPrivateKeyOctet
InvalidPublicKeyExplicit
InvalidPublicKeyBitString
InvalidPublicKeyPrefix
KeyDerivationFailed
Trait Implementations§
Source§impl Clone for Pkcs8Error
impl Clone for Pkcs8Error
Source§fn clone(&self) -> Pkcs8Error
fn clone(&self) -> Pkcs8Error
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Pkcs8Error
Source§impl Debug for Pkcs8Error
impl Debug for Pkcs8Error
Source§impl Display for Pkcs8Error
Available on crate feature alloc only.
impl Display for Pkcs8Error
Available on crate feature
alloc only.impl Eq for Pkcs8Error
Source§impl PartialEq for Pkcs8Error
impl PartialEq for Pkcs8Error
Source§fn eq(&self, other: &Pkcs8Error) -> bool
fn eq(&self, other: &Pkcs8Error) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Pkcs8Error
Auto Trait Implementations§
impl Freeze for Pkcs8Error
impl RefUnwindSafe for Pkcs8Error
impl Send for Pkcs8Error
impl Sync for Pkcs8Error
impl Unpin for Pkcs8Error
impl UnsafeUnpin for Pkcs8Error
impl UnwindSafe for Pkcs8Error
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