pub struct GenerateKeyError(pub String);Expand description
Represents an error that can occur during DEK generation.
This error type is used when key generation operations fail, such as:
- Insufficient entropy
- Invalid key parameters
- Algorithm-specific failures
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for GenerateKeyError
impl Debug for GenerateKeyError
Source§impl Display for GenerateKeyError
impl Display for GenerateKeyError
impl Eq for GenerateKeyError
Source§impl PartialEq for GenerateKeyError
impl PartialEq for GenerateKeyError
Source§fn eq(&self, other: &GenerateKeyError) -> bool
fn eq(&self, other: &GenerateKeyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenerateKeyError
Auto Trait Implementations§
impl Freeze for GenerateKeyError
impl RefUnwindSafe for GenerateKeyError
impl Send for GenerateKeyError
impl Sync for GenerateKeyError
impl Unpin for GenerateKeyError
impl UnsafeUnpin for GenerateKeyError
impl UnwindSafe for GenerateKeyError
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