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
fn into_hash_setup(
self,
_: fn(_: &'a str) -> Result<HashSetup<'a>>
) -> Result<HashSetup<'a>>
self,
_: fn(_: &'a str) -> Result<HashSetup<'a>>
) -> Result<HashSetup<'a>>
The conversion function.
Implementations on Foreign Types
impl<'a> IntoHashSetup<'a> for &'a str
[src]
Implementors
impl<'a> IntoHashSetup<'a> for HashSetup<'a>