Enum sleep_parser::HashType[][src]

pub enum HashType {
    BLAKE2b,
    Ed25519,
    None,
}

Algorithm used for hashing the data.

Variants

BLAKE2b hashing algorithm.

Ed25519 hashing algorithm.

No hashing used.

Methods

impl HashType
[src]

Returns true if the hash is BLAKE2b

Returns true if the hash is Ed25519

Returns true if no hash function was used.

Trait Implementations

impl Debug for HashType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for HashType
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for HashType

impl Sync for HashType