pub struct SessionProgress {
pub session_id: [u8; 32],
pub state: SessionState,
pub commitments_received: u16,
pub shares_received: u16,
pub threshold: u16,
}Expand description
Session progress information
Fields§
§session_id: [u8; 32]§state: SessionState§commitments_received: u16§threshold: u16Trait Implementations§
Source§impl Clone for SessionProgress
impl Clone for SessionProgress
Source§fn clone(&self) -> SessionProgress
fn clone(&self) -> SessionProgress
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionProgress
impl RefUnwindSafe for SessionProgress
impl Send for SessionProgress
impl Sync for SessionProgress
impl Unpin for SessionProgress
impl UnwindSafe for SessionProgress
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