Enum pretty_good::HashAlgorithm [] [src]

#[repr(u8)]
pub enum HashAlgorithm { Md5, Sha1, Ripemd160, Sha256, Sha384, Sha512, Sha224, Unknown, }

Type for hash algorithms supported by OpenPGP.

Variants

Methods

impl HashAlgorithm
[src]

[src]

[src]

Trait Implementations

impl Clone for HashAlgorithm
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for HashAlgorithm
[src]

impl Debug for HashAlgorithm
[src]

[src]

Formats the value using the given formatter. Read more

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

impl From<u8> for HashAlgorithm
[src]

[src]

Performs the conversion.

impl From<HashAlgorithm> for u8
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for HashAlgorithm

impl Sync for HashAlgorithm