Enum sshcerts::ssh::KeyTypeKind
source · pub enum KeyTypeKind {
Rsa,
Ed25519,
Ecdsa,
RsaCert,
Ed25519Cert,
EcdsaCert,
}Expand description
A type which represents the various kinds of keys.
Variants§
Rsa
Represents an RSA key type.
Ed25519
Represents an ED25519 key type.
Ecdsa
Represents an ECDSA key type.
RsaCert
Represents an RSA certificate key type.
Ed25519Cert
Represents an ED25519 certificate key type.
EcdsaCert
Represents an ECDSA certificate key type.
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<KeyTypeKind> for KeyTypeKind
impl PartialEq<KeyTypeKind> 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 Eq for KeyTypeKind
impl StructuralEq 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§
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