IntoHashSetup

Trait IntoHashSetup 

Source
pub trait IntoHashSetup<'a> {
    // Required method
    fn into_hash_setup(
        self,
        f: fn(&'a str) -> Result<HashSetup<'a>>,
    ) -> Result<HashSetup<'a>>;
}
Expand description

A trait for converting a type into a HashSetup struct.

Required Methods§

Source

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

The conversion function.

Implementations on Foreign Types§

Source§

impl<'a> IntoHashSetup<'a> for &'a str

Source§

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

Implementors§

Source§

impl<'a> IntoHashSetup<'a> for HashSetup<'a>