pub(crate) enum TssState {
Dkg(Dkg),
Roast {
key_package: KeyPackage,
public_key_package: PublicKeyPackage,
signing_sessions: BTreeMap<u64, Roast>,
},
Failed,
}
Expand description
Represents the state of the TSS process.
- Dkg(Dkg): State during the DKG process.
- Roast: State during the ROAST process.
- Failed: State when the process has failed.
Variants§
Auto Trait Implementations§
impl Freeze for TssState
impl RefUnwindSafe for TssState
impl Send for TssState
impl Sync for TssState
impl Unpin for TssState
impl UnwindSafe for TssState
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