pub enum PrivateKeyValue {
Rsa(OctetStringAsn1Container<RsaPrivateKey>),
EC(OctetStringAsn1Container<ECPrivateKey>),
ED(OctetStringAsn1Container<OctetStringAsn1>),
}
Variants§
Rsa(OctetStringAsn1Container<RsaPrivateKey>)
EC(OctetStringAsn1Container<ECPrivateKey>)
ED(OctetStringAsn1Container<OctetStringAsn1>)
Trait Implementations§
Source§impl Clone for PrivateKeyValue
impl Clone for PrivateKeyValue
Source§fn clone(&self) -> PrivateKeyValue
fn clone(&self) -> PrivateKeyValue
Returns a copy 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 PrivateKeyValue
impl Debug for PrivateKeyValue
Source§impl PartialEq for PrivateKeyValue
impl PartialEq for PrivateKeyValue
Source§impl Serialize for PrivateKeyValue
impl Serialize for PrivateKeyValue
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PrivateKeyValue
impl StructuralPartialEq for PrivateKeyValue
Auto Trait Implementations§
impl Freeze for PrivateKeyValue
impl RefUnwindSafe for PrivateKeyValue
impl Send for PrivateKeyValue
impl Sync for PrivateKeyValue
impl Unpin for PrivateKeyValue
impl UnwindSafe for PrivateKeyValue
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