[]Enum themis::keys::KeyKind

pub enum KeyKind {
    RsaPrivate,
    RsaPublic,
    EcdsaPrivate,
    EcdsaPublic,
}

Kind of an asymmetric key.

Variants

RsaPrivate

RSA private key.

RsaPublic

RSA public key.

EcdsaPrivate

ECDSA private key.

EcdsaPublic

ECDSA public key.

Trait Implementations

impl Eq for KeyKind

impl Clone for KeyKind

impl PartialEq<KeyKind> for KeyKind

impl Copy for KeyKind

impl Debug for KeyKind

Auto Trait Implementations

impl Send for KeyKind

impl Unpin for KeyKind

impl Sync for KeyKind

impl UnwindSafe for KeyKind

impl RefUnwindSafe for KeyKind

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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