Enum sshcerts::ssh::PrivateKeyKind [−][src]
pub enum PrivateKeyKind { Rsa(RsaPrivateKey), Ecdsa(EcdsaPrivateKey), Ed25519(Ed25519PrivateKey), }
A type which represents the different kinds a public key can be.
Variants
Rsa(RsaPrivateKey)
Represents an RSA public key.
Ecdsa(EcdsaPrivateKey)
Represents an ECDSA public key.
Ed25519(Ed25519PrivateKey)
Represents an ED25519 public key.
Trait Implementations
impl Clone for PrivateKeyKind
[src]
impl Clone for PrivateKeyKind
[src]fn clone(&self) -> PrivateKeyKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<PrivateKeyKind> for PrivateKeyKind
[src]
impl PartialEq<PrivateKeyKind> for PrivateKeyKind
[src]fn eq(&self, other: &PrivateKeyKind) -> bool
[src]
fn ne(&self, other: &PrivateKeyKind) -> bool
[src]
impl StructuralPartialEq for PrivateKeyKind
[src]
impl StructuralPartialEq for PrivateKeyKind
[src]Auto Trait Implementations
impl RefUnwindSafe for PrivateKeyKind
impl RefUnwindSafe for PrivateKeyKind
impl Send for PrivateKeyKind
impl Send for PrivateKeyKind
impl Sync for PrivateKeyKind
impl Sync for PrivateKeyKind
impl Unpin for PrivateKeyKind
impl Unpin for PrivateKeyKind
impl UnwindSafe for PrivateKeyKind
impl UnwindSafe for PrivateKeyKind