Trait IntoKeyGenerator

Source
pub trait IntoKeyGenerator<K, Inputs, Marker> {
    type Generator: KeyGenerator<K, Inputs>;

    // Required method
    fn into_key_gen(self) -> Self::Generator;
}
Expand description

Something that can be turned into a key generator

Required Associated Types§

Source

type Generator: KeyGenerator<K, Inputs>

The concrete key generator type

Required Methods§

Source

fn into_key_gen(self) -> Self::Generator

Turn this type into a concrete key generator

Implementors§

Source§

impl<K, Inputs, Marker: 'static, F> IntoKeyGenerator<K, Inputs, Marker> for F
where F: FunctionKeygen<K, Inputs, Marker>,