Struct frost_core::keys::VerifyingShare
source · pub struct VerifyingShare<C>(/* private fields */)
where
C: Ciphersuite;
Expand description
A public group element that represents a single signer’s public verification share.
Implementations§
sourcepub fn deserialize(
bytes: <C::Group as Group>::Serialization
) -> Result<Self, Error<C>>
pub fn deserialize( bytes: <C::Group as Group>::Serialization ) -> Result<Self, Error<C>>
Deserialize from bytes
sourcepub fn serialize(&self) -> <C::Group as Group>::Serialization
pub fn serialize(&self) -> <C::Group as Group>::Serialization
Serialize to bytes
Trait Implementations§
source§fn clone(&self) -> VerifyingShare<C>
fn clone(&self) -> VerifyingShare<C>
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§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§fn from(secret: SigningShare<C>) -> VerifyingShare<C>
fn from(secret: SigningShare<C>) -> VerifyingShare<C>
Converts to this type from the input type.
source§fn eq(&self, other: &VerifyingShare<C>) -> bool
fn eq(&self, other: &VerifyingShare<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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