[][src]Struct crypto_api::hash::HashInfo

pub struct HashInfo {
    pub name: &'static str,
    pub hash_len: usize,
    pub hash_len_min: usize,
    pub hash_len_max: usize,
}

Information about a hash implementation

Fields

name: &'static str

The name

hash_len: usize

The default hash length

hash_len_min: usize

The minimum supported hash length

hash_len_max: usize

The maximum supported hash length

Trait Implementations

impl Copy for HashInfo[src]

impl PartialEq<HashInfo> for HashInfo[src]

impl Clone for HashInfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for HashInfo[src]

impl Debug for HashInfo[src]

Auto Trait Implementations

impl Send for HashInfo

impl Sync for HashInfo

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]