pub struct CoefficientCommitment<C: Ciphersuite>(/* private fields */);
Expand description
A Group::Element
newtype that is a commitment to one coefficient of our secret polynomial.
This is a (public) commitment to one coefficient of a secret polynomial used for performing verifiable secret sharing for a Shamir secret share.
Implementations§
Trait Implementations§
Source§impl<C: Clone + Ciphersuite> Clone for CoefficientCommitment<C>
impl<C: Clone + Ciphersuite> Clone for CoefficientCommitment<C>
Source§fn clone(&self) -> CoefficientCommitment<C>
fn clone(&self) -> CoefficientCommitment<C>
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 moreSource§impl<C> Debug for CoefficientCommitment<C>where
C: Ciphersuite,
impl<C> Debug for CoefficientCommitment<C>where
C: Ciphersuite,
Source§impl<'de, C> Deserialize<'de> for CoefficientCommitment<C>where
C: Ciphersuite,
impl<'de, C> Deserialize<'de> for CoefficientCommitment<C>where
C: Ciphersuite,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C: PartialEq + Ciphersuite> PartialEq for CoefficientCommitment<C>
impl<C: PartialEq + Ciphersuite> PartialEq for CoefficientCommitment<C>
Source§impl<C> Serialize for CoefficientCommitment<C>where
C: Ciphersuite,
impl<C> Serialize for CoefficientCommitment<C>where
C: Ciphersuite,
impl<C: Copy + Ciphersuite> Copy for CoefficientCommitment<C>
impl<C: Eq + Ciphersuite> Eq for CoefficientCommitment<C>
impl<C: Ciphersuite> StructuralPartialEq for CoefficientCommitment<C>
Auto Trait Implementations§
impl<C> Freeze for CoefficientCommitment<C>
impl<C> RefUnwindSafe for CoefficientCommitment<C>
impl<C> Send for CoefficientCommitment<C>
impl<C> Sync for CoefficientCommitment<C>
impl<C> Unpin for CoefficientCommitment<C>
impl<C> UnwindSafe for CoefficientCommitment<C>
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