pub struct Round<M, D, ProtoMsg, R>(/* private fields */)
where
M: MpcExecution,
D: Digest + 'static,
ProtoMsg: 'static,
R: RoundInfo;Available on crate feature
echo-broadcast only.Expand description
Round registration witness returned by WithEchoBroadcast::add_round()
Auto Trait Implementations§
impl<M, D, ProtoMsg, R> Freeze for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: Freeze,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: Freeze,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: Freeze,
impl<M, D, ProtoMsg, R> RefUnwindSafe for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: RefUnwindSafe,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: RefUnwindSafe,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: RefUnwindSafe,
impl<M, D, ProtoMsg, R> Send for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: Send,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: Send,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: Send,
impl<M, D, ProtoMsg, R> Sync for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: Sync,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: Sync,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: Sync,
impl<M, D, ProtoMsg, R> Unpin for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: Unpin,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: Unpin,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: Unpin,
impl<M, D, ProtoMsg, R> UnwindSafe for Round<M, D, ProtoMsg, R>where
<M as MpcExecution>::Round<WithError<WithMainMsg<R>>>: UnwindSafe,
<M as MpcExecution>::Round<WithMainMsg<MainRound<D, ProtoMsg, R>>>: UnwindSafe,
<M as MpcExecution>::Round<WithEchoError<EchoRound<D, R>, <R as RoundInfo>::Error>>: UnwindSafe,
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