Enum sshkeys::KeyTypeKind
source · pub enum KeyTypeKind {
Rsa,
Dsa,
Ed25519,
Ecdsa,
RsaCert,
DsaCert,
Ed25519Cert,
EcdsaCert,
Ed25519Sk,
EcdsaSk,
}
Expand description
A type which represents the various kinds of keys.
Variants§
Rsa
Represents an RSA key type.
Dsa
Represents a DSA key type.
Ed25519
Represents an ED25519 key type.
Ecdsa
Represents an ECDSA key type.
RsaCert
Represents an RSA certificate key type.
DsaCert
Represents a DSA certificate key type.
Ed25519Cert
Represents an ED25519 certificate key type.
EcdsaCert
Represents an ECDSA certificate key type.
Ed25519Sk
Represents an ED25519 key type, generated by a security key.
EcdsaSk
Represents an ECDSA key type, generated by a security key.
Trait Implementations§
source§impl Clone for KeyTypeKind
impl Clone for KeyTypeKind
source§fn clone(&self) -> KeyTypeKind
fn clone(&self) -> KeyTypeKind
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 KeyTypeKind
impl Debug for KeyTypeKind
source§impl PartialEq for KeyTypeKind
impl PartialEq for KeyTypeKind
source§fn eq(&self, other: &KeyTypeKind) -> bool
fn eq(&self, other: &KeyTypeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyTypeKind
Auto Trait Implementations§
impl Freeze for KeyTypeKind
impl RefUnwindSafe for KeyTypeKind
impl Send for KeyTypeKind
impl Sync for KeyTypeKind
impl Unpin for KeyTypeKind
impl UnwindSafe for KeyTypeKind
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