[][src]Trait pwhash::IntoHashSetup

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

A trait for converting a type into a HashSetup struct.

Required methods

fn into_hash_setup(
    self,
    _: fn(_: &'a str) -> Result<HashSetup<'a>>
) -> Result<HashSetup<'a>>

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...