pub enum PrivateKeyMaterial {
Rsa(PrivateRsaKeyMaterial),
Ec(EcParameter),
}Expand description
Key private material.
Defines data layout and contents of the private key definitions for both RSA and EC keys.
Variants§
Trait Implementations§
Source§impl Debug for PrivateKeyMaterial
impl Debug for PrivateKeyMaterial
Source§impl<'de> Deserialize<'de> for PrivateKeyMaterial
impl<'de> Deserialize<'de> for PrivateKeyMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrivateKeyMaterial
impl RefUnwindSafe for PrivateKeyMaterial
impl Send for PrivateKeyMaterial
impl Sync for PrivateKeyMaterial
impl Unpin for PrivateKeyMaterial
impl UnwindSafe for PrivateKeyMaterial
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