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
sourceimpl Debug for KeyTypeKind
impl Debug for KeyTypeKind
sourceimpl PartialEq<KeyTypeKind> for KeyTypeKind
impl PartialEq<KeyTypeKind> for KeyTypeKind
impl StructuralPartialEq for KeyTypeKind
Auto Trait Implementations
impl RefUnwindSafe for KeyTypeKind
impl Send for KeyTypeKind
impl Sync for KeyTypeKind
impl Unpin for KeyTypeKind
impl UnwindSafe for KeyTypeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more