Trait seec::circuit::builder::SubCircuitOutput

source ·
pub trait SubCircuitOutput: Sized {
    // Required methods
    fn create_output_gates(self) -> Self;
    fn connect_to_main(self, circuit_id: CircuitId) -> Self;
    fn connect_simd_to_main(
        self,
        circuit_id: CircuitId,
        simd_size: usize
    ) -> Vec<Self>;
}

Required Methods§

source

fn create_output_gates(self) -> Self

source

fn connect_to_main(self, circuit_id: CircuitId) -> Self

source

fn connect_simd_to_main( self, circuit_id: CircuitId, simd_size: usize ) -> Vec<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<Idx: GateIdx> SubCircuitOutput for Vec<Secret<BooleanGmw, Idx>>

source§

fn create_output_gates(self) -> Self

source§

fn connect_to_main(self, circuit_id: CircuitId) -> Self

source§

fn connect_simd_to_main( self, circuit_id: CircuitId, simd_size: usize ) -> Vec<Self>

source§

impl<Idx: GateIdx, const N: usize> SubCircuitOutput for [Secret<BooleanGmw, Idx>; N]

source§

fn create_output_gates(self) -> Self

source§

fn connect_to_main(self, circuit_id: CircuitId) -> Self

source§

fn connect_simd_to_main( self, _circuit_id: CircuitId, _simd_size: usize ) -> Vec<Self>

Implementors§