pub enum TssAction<P> {
Send(Vec<(P, TssMessage)>),
Commit(VerifiableSecretSharingCommitment, ProofOfKnowledge),
Ready(SigningShare, VerifiableSecretSharingCommitment, VerifyingKey),
Signature(u64, [u8; 32], Signature),
}
Expand description
Represents possible actions in the TSS process.
Variants§
Send(Vec<(P, TssMessage)>)
Action to send messages.
Commit(VerifiableSecretSharingCommitment, ProofOfKnowledge)
Action to commit a secret.
Ready(SigningShare, VerifiableSecretSharingCommitment, VerifyingKey)
Action indicating readiness.
Signature(u64, [u8; 32], Signature)
Action to provide a signature.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for TssAction<P>
impl<P> RefUnwindSafe for TssAction<P>where
P: RefUnwindSafe,
impl<P> Send for TssAction<P>where
P: Send,
impl<P> Sync for TssAction<P>where
P: Sync,
impl<P> Unpin for TssAction<P>where
P: Unpin,
impl<P> UnwindSafe for TssAction<P>where
P: 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