pub enum KeyGenError {
UnsupportedLogN {
logn: u32,
},
InvalidSigningKeyBufferLen {
expected: usize,
actual: usize,
},
InvalidVerifyingKeyBufferLen {
expected: usize,
actual: usize,
},
}Expand description
Error type for key pair generation.
Variants§
UnsupportedLogN
The requested degree is not supported by this generator.
InvalidSigningKeyBufferLen
The destination buffer for the signing key has the wrong size.
InvalidVerifyingKeyBufferLen
The destination buffer for the verifying key has the wrong size.
Trait Implementations§
Source§impl Clone for KeyGenError
impl Clone for KeyGenError
Source§fn clone(&self) -> KeyGenError
fn clone(&self) -> KeyGenError
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 KeyGenError
Source§impl Debug for KeyGenError
impl Debug for KeyGenError
Source§impl Display for KeyGenError
impl Display for KeyGenError
impl Eq for KeyGenError
Source§impl From<KeyGenError> for DeterministicKeyGenError
impl From<KeyGenError> for DeterministicKeyGenError
Source§fn from(value: KeyGenError) -> DeterministicKeyGenError
fn from(value: KeyGenError) -> DeterministicKeyGenError
Converts to this type from the input type.
Source§impl PartialEq for KeyGenError
impl PartialEq for KeyGenError
impl StructuralPartialEq for KeyGenError
Auto Trait Implementations§
impl Forget for KeyGenError
impl Freeze for KeyGenError
impl Move for KeyGenError
impl RefUnwindSafe for KeyGenError
impl Send for KeyGenError
impl Sync for KeyGenError
impl Unpin for KeyGenError
impl UnsafeUnpin for KeyGenError
impl UnwindSafe for KeyGenError
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