pub struct MPCProtocol {
pub name: String,
pub n_parties: usize,
pub threshold_corruption: usize,
pub security_model: MPCSecurityModel,
}Expand description
Multiparty computation (MPC) protocol.
Fields§
§name: String§n_parties: usize§threshold_corruption: usize§security_model: MPCSecurityModelImplementations§
Source§impl MPCProtocol
impl MPCProtocol
Trait Implementations§
Source§impl Clone for MPCProtocol
impl Clone for MPCProtocol
Source§fn clone(&self) -> MPCProtocol
fn clone(&self) -> MPCProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MPCProtocol
impl RefUnwindSafe for MPCProtocol
impl Send for MPCProtocol
impl Sync for MPCProtocol
impl Unpin for MPCProtocol
impl UnsafeUnpin for MPCProtocol
impl UnwindSafe for MPCProtocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more