Enum RecryptErr
pub enum RecryptErr {
DecryptFailed(InternalError),
InvalidEncryptedMessageSignature(InternalError),
InvalidPublicKey(PointErr),
InvalidTransformKey(InternalError),
InputWrongSize(&'static str, usize),
DecodeFailure(DecodeErr),
}
Expand description
Errors generated by the API
Variants§
DecryptFailed(InternalError)
InvalidEncryptedMessageSignature(InternalError)
InvalidPublicKey(PointErr)
InvalidTransformKey(InternalError)
InputWrongSize(&'static str, usize)
DecodeFailure(DecodeErr)
Trait Implementations§
§impl Debug for RecryptErr
impl Debug for RecryptErr
§impl Display for RecryptErr
impl Display for RecryptErr
§impl Error for RecryptErr
impl Error for RecryptErr
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl PartialEq for RecryptErr
impl PartialEq for RecryptErr
impl StructuralPartialEq for RecryptErr
Auto Trait Implementations§
impl Freeze for RecryptErr
impl RefUnwindSafe for RecryptErr
impl Send for RecryptErr
impl Sync for RecryptErr
impl Unpin for RecryptErr
impl UnwindSafe for RecryptErr
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