pub struct RoundState {
pub round: SigningRound,
pub responded: HashSet<String>,
pub started_at: DateTime<Utc>,
pub round_data: Vec<(String, Vec<u8>)>,
}Expand description
State for a single round: which signers have responded.
Fields§
§round: SigningRoundThe current round.
responded: HashSet<String>Signers who have responded in this round.
started_at: DateTime<Utc>When this round started.
round_data: Vec<(String, Vec<u8>)>Round data collected so far (opaque bytes per signer).
Trait Implementations§
Source§impl Clone for RoundState
impl Clone for RoundState
Source§fn clone(&self) -> RoundState
fn clone(&self) -> RoundState
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 moreAuto Trait Implementations§
impl Freeze for RoundState
impl RefUnwindSafe for RoundState
impl Send for RoundState
impl Sync for RoundState
impl Unpin for RoundState
impl UnsafeUnpin for RoundState
impl UnwindSafe for RoundState
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