Enum sshkeys::KeyTypeKind[][src]

pub enum KeyTypeKind {
    Rsa,
    Dsa,
    Ed25519,
    Ecdsa,
    RsaCert,
    DsaCert,
    Ed25519Cert,
    EcdsaCert,
}

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.

Trait Implementations

impl Debug for KeyTypeKind[src]

impl PartialEq<KeyTypeKind> for KeyTypeKind[src]

impl StructuralPartialEq for KeyTypeKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.