Struct synedrion::KeyGenResult
source · pub struct KeyGenResult<P: SchemeParams>(/* private fields */);
Expand description
Possible results of the merged KeyGen and KeyRefresh protocols.
Trait Implementations§
source§impl<P: Clone + SchemeParams> Clone for KeyGenResult<P>
impl<P: Clone + SchemeParams> Clone for KeyGenResult<P>
source§fn clone(&self) -> KeyGenResult<P>
fn clone(&self) -> KeyGenResult<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 moresource§impl<P: Debug + SchemeParams> Debug for KeyGenResult<P>
impl<P: Debug + SchemeParams> Debug for KeyGenResult<P>
source§impl<P: SchemeParams> ProtocolResult for KeyGenResult<P>
impl<P: SchemeParams> ProtocolResult for KeyGenResult<P>
§type ProvableError = KeyGenError<P>
type ProvableError = KeyGenError<P>
A collection of data which, in combination with the messages received,
can be used to prove malicious behavior of a remote node.
§type CorrectnessProof = KeyGenProof<P>
type CorrectnessProof = KeyGenProof<P>
A collection of data which, in combination with the messages received,
can be used to prove correct behavior of this node. Read more
impl<P: Copy + SchemeParams> Copy for KeyGenResult<P>
Auto Trait Implementations§
impl<P> RefUnwindSafe for KeyGenResult<P>where
P: RefUnwindSafe,
impl<P> Send for KeyGenResult<P>
impl<P> Sync for KeyGenResult<P>where
P: Sync,
impl<P> Unpin for KeyGenResult<P>where
P: Unpin,
impl<P> UnwindSafe for KeyGenResult<P>where
P: UnwindSafe,
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