Enum synedrion::KeyGenProof
source · pub enum KeyGenProof<P: SchemeParams> {
KeyInit(<KeyInitResult as ProtocolResult>::CorrectnessProof),
KeyRefresh(<KeyRefreshResult<P> as ProtocolResult>::CorrectnessProof),
}
Expand description
A proof of a node’s correct behavior for the merged KeyGen and KeyRefresh protocols.
Variants§
KeyInit(<KeyInitResult as ProtocolResult>::CorrectnessProof)
A proof for the KeyGen part of the protocol.
KeyRefresh(<KeyRefreshResult<P> as ProtocolResult>::CorrectnessProof)
A proof for the KeyRefresh part of the protocol.
Trait Implementations§
source§impl<P: Clone + SchemeParams> Clone for KeyGenProof<P>
impl<P: Clone + SchemeParams> Clone for KeyGenProof<P>
source§fn clone(&self) -> KeyGenProof<P>
fn clone(&self) -> KeyGenProof<P>
Returns a copy 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<P> RefUnwindSafe for KeyGenProof<P>
impl<P> Send for KeyGenProof<P>
impl<P> Sync for KeyGenProof<P>
impl<P> Unpin for KeyGenProof<P>
impl<P> UnwindSafe for KeyGenProof<P>
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