Trait pwhash::IntoHashSetup [] [src]

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

The conversion function.

Implementations on Foreign Types

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

[src]

Implementors