pub trait FunctionKeygen<K, Inputs, Marker>: 'static {
// Required method
fn execute(&self, inputs: &Inputs) -> K;
}
Expand description
An Fn
that can act as a key generator
pub trait FunctionKeygen<K, Inputs, Marker>: 'static {
// Required method
fn execute(&self, inputs: &Inputs) -> K;
}
An Fn
that can act as a key generator