Enum pretty_good::PublicKeyAlgorithm [] [src]

#[repr(u8)]
pub enum PublicKeyAlgorithm { Rsa, RsaEncryptOnly, RsaSignOnly, ElgamalEncryptOnly, Dsa, EllipticCurve, Ecdsa, Elgamal, DiffieHellman, Unknown, }

Type for public key algorithms supported by OpenPGP.

Variants

Trait Implementations

impl Clone for PublicKeyAlgorithm
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PublicKeyAlgorithm
[src]

impl Debug for PublicKeyAlgorithm
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for PublicKeyAlgorithm
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for PublicKeyAlgorithm
[src]

impl From<u8> for PublicKeyAlgorithm
[src]

[src]

Performs the conversion.

impl From<PublicKeyAlgorithm> for u8
[src]

[src]

Performs the conversion.

Auto Trait Implementations