Enum pretty_good::SymmetricKeyAlgorithm [] [src]

#[repr(u8)]
pub enum SymmetricKeyAlgorithm { Plaintext, Idea, TripleDes, Cast5, Blowfish, Aes128, Aes192, Aes256, Twofish, Reserved, Unknown, }

Type for symmetric key algorithms supported by OpenPGP.

Variants

Methods

impl SymmetricKeyAlgorithm
[src]

[src]

The block size of this cipher in bytes.

Trait Implementations

impl Clone for SymmetricKeyAlgorithm
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SymmetricKeyAlgorithm
[src]

impl Debug for SymmetricKeyAlgorithm
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SymmetricKeyAlgorithm
[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 SymmetricKeyAlgorithm
[src]

impl From<u8> for SymmetricKeyAlgorithm
[src]

[src]

Performs the conversion.

Auto Trait Implementations