pub enum DeriveError {
InvalidPublic,
InvalidSecret,
Unknown,
}Expand description
An error derivation of Diffie-Hellman shared secret.
Variants§
InvalidPublic
Public value was invalid
InvalidSecret
Secret value was invalid
Unknown
An unknown error occurred
Trait Implementations§
Source§impl Debug for DeriveError
impl Debug for DeriveError
Source§impl Display for DeriveError
impl Display for DeriveError
Source§impl From<DeriveError> for DeriveError
impl From<DeriveError> for DeriveError
Source§fn from(value: DeriveError) -> Self
fn from(value: DeriveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeriveError
impl RefUnwindSafe for DeriveError
impl Send for DeriveError
impl Sync for DeriveError
impl Unpin for DeriveError
impl UnwindSafe for DeriveError
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