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§

source

fn insecure_setup( ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>

source

fn ot_setup( ch: Channel<Sender<ExtOTMsg>> ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>

source

fn stored( path: &Path ) -> Box<dyn MTProvider<Output = <Self as Protocol>::SetupStorage, Error = BoxError> + Send + 'static>

Object Safety§

This trait is not object safe.

Implementors§