pub enum FinalizeOutcome<Id: PartyId, P: Protocol<Id>> {
AnotherRound(BoxedRound<Id, P>),
Result(P::Result),
}
Expand description
Possible successful outcomes of Round::finalize
.
Variants§
AnotherRound(BoxedRound<Id, P>)
Transition to a new round.
Result(P::Result)
The protocol reached a result.
Trait Implementations§
Auto Trait Implementations§
impl<Id, P> Freeze for FinalizeOutcome<Id, P>
impl<Id, P> !RefUnwindSafe for FinalizeOutcome<Id, P>
impl<Id, P> Send for FinalizeOutcome<Id, P>
impl<Id, P> Sync for FinalizeOutcome<Id, P>
impl<Id, P> Unpin for FinalizeOutcome<Id, P>
impl<Id, P> !UnwindSafe for FinalizeOutcome<Id, P>
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