pub enum KeyGenError {
InvalidRandomness,
Unknown,
}Expand description
Error generating key with provided randomness
Variants§
Trait Implementations§
Source§impl Debug for KeyGenError
impl Debug for KeyGenError
Source§impl Display for KeyGenError
impl Display for KeyGenError
Source§impl From<KeyGenError> for KeyGenError
impl From<KeyGenError> for KeyGenError
Source§fn from(value: KeyGenError) -> Self
fn from(value: KeyGenError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyGenError
impl RefUnwindSafe for KeyGenError
impl Send for KeyGenError
impl Sync for KeyGenError
impl Unpin 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