Enum autocrypt::KeyType [] [src]

pub enum KeyType {
    OpenPGP,
    Unknown(String),
}

What type of key is used.

Variants

OpenPGP Key, serializes to 1.

Any other key type, renders the header invalid.

Trait Implementations

impl PartialEq for KeyType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for KeyType
[src]

impl Debug for KeyType
[src]

[src]

Formats the value using the given formatter.

impl Clone for KeyType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for KeyType
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for KeyType
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more