pub struct ServerState {
pub common_randomness: CommonRandomness,
pub and_triples: MultTripleStorage,
pub unverified_list: BinaryString,
pub ver: (BinaryStringShare, BinaryStringShare, BinaryStringShare),
pub rep: (BinaryStringShare, BinaryStringShare, BinaryStringShare),
}Fields§
§common_randomness: CommonRandomness§and_triples: MultTripleStorage§unverified_list: BinaryString§ver: (BinaryStringShare, BinaryStringShare, BinaryStringShare)§rep: (BinaryStringShare, BinaryStringShare, BinaryStringShare)Implementations§
Source§impl ServerState
impl ServerState
pub fn new(common_randomness: CommonRandomness) -> Self
Trait Implementations§
Source§impl Clone for ServerState
impl Clone for ServerState
Source§fn clone(&self) -> ServerState
fn clone(&self) -> ServerState
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 ServerState
impl RefUnwindSafe for ServerState
impl Send for ServerState
impl Sync for ServerState
impl Unpin for ServerState
impl UnwindSafe for ServerState
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