pub struct AuxGen<P, Id> { /* private fields */ }Expand description
An entry point for the AuxGenProtocol.
Implementations§
Trait Implementations§
Source§impl<P, Id> EntryPoint<Id> for AuxGen<P, Id>where
P: SchemeParams,
Id: PartyId,
impl<P, Id> EntryPoint<Id> for AuxGen<P, Id>where
P: SchemeParams,
Id: PartyId,
Source§type Protocol = AuxGenProtocol<P, Id>
type Protocol = AuxGenProtocol<P, Id>
The protocol implemented by the round this entry points returns.
Source§fn entry_round_id() -> RoundId
fn entry_round_id() -> RoundId
Returns the ID of the round returned by
Self::make_round.Source§fn make_round(
self,
rng: &mut dyn CryptoRngCore,
shared_randomness: &[u8],
id: &Id,
) -> Result<BoxedRound<Id, Self::Protocol>, LocalError>
fn make_round( self, rng: &mut dyn CryptoRngCore, shared_randomness: &[u8], id: &Id, ) -> Result<BoxedRound<Id, Self::Protocol>, LocalError>
Creates the round. Read more
Auto Trait Implementations§
impl<P, Id> Freeze for AuxGen<P, Id>
impl<P, Id> RefUnwindSafe for AuxGen<P, Id>where
P: RefUnwindSafe,
Id: RefUnwindSafe,
impl<P, Id> Send for AuxGen<P, Id>
impl<P, Id> Sync for AuxGen<P, Id>
impl<P, Id> Unpin for AuxGen<P, Id>where
P: Unpin,
impl<P, Id> UnwindSafe for AuxGen<P, Id>where
P: UnwindSafe,
Id: RefUnwindSafe,
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