pub struct SignatureShare<T: LamportDigest> { /* private fields */ }
Expand description
A signature share generated by [SigningKeyShare
].
Implementations§
Sourcepub fn from_bytes<B: AsRef<[u8]>>(bytes: B) -> LamportResult<Self>
pub fn from_bytes<B: AsRef<[u8]>>(bytes: B) -> LamportResult<Self>
Constructs a SignatureShare
from a byte sequence
Trait Implementations§
Source§fn clone(&self) -> SignatureShare<T>
fn clone(&self) -> SignatureShare<T>
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>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn cmp(&self, other: &SignatureShare<T>) -> Ordering
fn cmp(&self, other: &SignatureShare<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§type Error = LamportError
type Error = LamportError
The type returned in the event of a conversion error.
Source§fn try_from(value: &[u8]) -> LamportResult<Self>
fn try_from(value: &[u8]) -> LamportResult<Self>
Performs the conversion.
Source§type Error = LamportError
type Error = LamportError
The type returned in the event of a conversion error.
Source§type Error = LamportError
type Error = LamportError
The type returned in the event of a conversion error.
Source§type Error = LamportError
type Error = LamportError
The type returned in the event of a conversion error.
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