pub struct Gg18DkgSession { /* private fields */ }Trait Implementations§
Source§impl SessionImpl for Gg18DkgSession
impl SessionImpl for Gg18DkgSession
Source§fn round(&mut self, incoming: &[Message]) -> Result<RoundResult>
fn round(&mut self, incoming: &[Message]) -> Result<RoundResult>
Advance one round. Consumes the messages received since the last
round and returns the messages to send next, plus a
complete
flag indicating the session has produced its output and no more
rounds are needed.Auto Trait Implementations§
impl Freeze for Gg18DkgSession
impl RefUnwindSafe for Gg18DkgSession
impl Send for Gg18DkgSession
impl Sync for Gg18DkgSession
impl Unpin for Gg18DkgSession
impl UnsafeUnpin for Gg18DkgSession
impl UnwindSafe for Gg18DkgSession
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