pub enum SigningRound {
Round1,
Round2,
Round3,
Round4,
Completed,
Aborted,
}Expand description
Which round the protocol is in.
Variants§
Round1
Round 1: nonce commitment.
Round2
Round 2: MtA exchange (CMP20) or nonce reveal (FROST).
Round3
Round 3: partial signature.
Round4
Round 4: GG18 final combine.
Completed
Protocol completed.
Aborted
Protocol aborted.
Implementations§
Trait Implementations§
Source§impl Clone for SigningRound
impl Clone for SigningRound
Source§fn clone(&self) -> SigningRound
fn clone(&self) -> SigningRound
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SigningRound
Source§impl Debug for SigningRound
impl Debug for SigningRound
Source§impl<'de> Deserialize<'de> for SigningRound
impl<'de> Deserialize<'de> for SigningRound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SigningRound
Source§impl Hash for SigningRound
impl Hash for SigningRound
Source§impl PartialEq for SigningRound
impl PartialEq for SigningRound
Source§fn eq(&self, other: &SigningRound) -> bool
fn eq(&self, other: &SigningRound) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SigningRound
impl Serialize for SigningRound
impl StructuralPartialEq for SigningRound
Auto Trait Implementations§
impl Freeze for SigningRound
impl RefUnwindSafe for SigningRound
impl Send for SigningRound
impl Sync for SigningRound
impl Unpin for SigningRound
impl UnsafeUnpin for SigningRound
impl UnwindSafe for SigningRound
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