[][src]Trait pwhash::IntoHashSetup

pub trait IntoHashSetup<'a> {
    pub fn into_hash_setup(
        self,
        f: fn(_: &'a str) -> Result<HashSetup<'a>>
    ) -> Result<HashSetup<'a>>; }

A trait for converting a type into a HashSetup struct.

Required methods

pub fn into_hash_setup(
    self,
    f: fn(_: &'a str) -> Result<HashSetup<'a>>
) -> Result<HashSetup<'a>>
[src]

The conversion function.

Loading content...

Implementations on Foreign Types

impl<'a> IntoHashSetup<'a> for &'a str[src]

Loading content...

Implementors

impl<'a> IntoHashSetup<'a> for HashSetup<'a>[src]

Loading content...