Type Alias SharedNetwork

Source
pub type SharedNetwork<N: MpcNetwork + Send> = Rc<RefCell<N>>;
Expand description

SharedNetwork wraps a network implementation in a borrow-safe container while providing interior mutability

Aliased Typeยง

struct SharedNetwork<N: MpcNetwork + Send> { /* private fields */ }