Struct dir_signature::HashType [] [src]

pub struct HashType(_);

A type of hash supported by the library

Methods

impl HashType
[src]

[src]

Constructs SHA512/256 checksum truncated to 256 bits

[src]

Constructs 256bits (32 bytes) Blake2b checksum

[src]

Get the digest size in bytes

Trait Implementations

impl FromStr for HashType
[src]

The associated error which can be returned from parsing.

[src]

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

impl Copy for HashType
[src]

impl Clone for HashType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HashType
[src]

[src]

Formats the value using the given formatter. Read more

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

impl Hash for HashType
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for HashType

impl Sync for HashType