pub enum HashToPointError {
InvalidNonceLength {
actual: usize,
},
InvalidHashedVerifyingKeyLength {
actual: usize,
},
}Expand description
Error type for message hashing into a point.
Variants§
InvalidNonceLength
The nonce must contain exactly 40 bytes.
InvalidHashedVerifyingKeyLength
The hashed verifying key must contain exactly 64 bytes.
Trait Implementations§
Source§impl Clone for HashToPointError
impl Clone for HashToPointError
Source§fn clone(&self) -> HashToPointError
fn clone(&self) -> HashToPointError
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 HashToPointError
Source§impl Debug for HashToPointError
impl Debug for HashToPointError
Source§impl Display for HashToPointError
impl Display for HashToPointError
impl Eq for HashToPointError
Source§impl PartialEq for HashToPointError
impl PartialEq for HashToPointError
impl StructuralPartialEq for HashToPointError
Auto Trait Implementations§
impl Forget for HashToPointError
impl Freeze for HashToPointError
impl Move for HashToPointError
impl RefUnwindSafe for HashToPointError
impl Send for HashToPointError
impl Sync for HashToPointError
impl Unpin for HashToPointError
impl UnsafeUnpin for HashToPointError
impl UnwindSafe for HashToPointError
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