Enum TcSchemeKind
pub enum TcSchemeKind {
Signature,
Kem,
Dkg,
}Expand description
Broad category of a threshold scheme. Drives which lifecycle entry points apply (e.g. DKG produces a share on output; signing consumes a share on input).
Variants§
Signature
Threshold signing — parties cooperatively produce a signature.
Kem
Threshold key encapsulation — parties cooperatively derive a shared secret.
Dkg
Distributed key generation — parties produce a fresh shared secret and per-party shares.
Trait Implementations§
§impl Clone for TcSchemeKind
impl Clone for TcSchemeKind
§fn clone(&self) -> TcSchemeKind
fn clone(&self) -> TcSchemeKind
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 moreimpl Copy for TcSchemeKind
§impl Debug for TcSchemeKind
impl Debug for TcSchemeKind
impl Eq for TcSchemeKind
§impl PartialEq for TcSchemeKind
impl PartialEq for TcSchemeKind
impl StructuralPartialEq for TcSchemeKind
Auto Trait Implementations§
impl Freeze for TcSchemeKind
impl RefUnwindSafe for TcSchemeKind
impl Send for TcSchemeKind
impl Sync for TcSchemeKind
impl Unpin for TcSchemeKind
impl UnsafeUnpin for TcSchemeKind
impl UnwindSafe for TcSchemeKind
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