Trait seec::bench::BenchProtocol
source · pub trait BenchProtocol: Protocol + Default + Debug {
// Required methods
fn insecure_setup(
) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>;
fn ot_setup(
ch: Channel<Sender<ExtOTMsg>>
) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>;
fn stored(
path: &Path
) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>;
}
Required Methods§
fn insecure_setup( ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>
fn ot_setup( ch: Channel<Sender<ExtOTMsg>> ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>
fn stored( path: &Path ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>
Object Safety§
This trait is not object safe.