pub enum EncryptionError {
PlaintextTooLong,
}Expand description
An error while encrypting
Variants§
PlaintextTooLong
The provided message was too long to be encrypted
Trait Implementations§
Source§impl Clone for EncryptionError
impl Clone for EncryptionError
Source§fn clone(&self) -> EncryptionError
fn clone(&self) -> EncryptionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncryptionError
impl Debug for EncryptionError
Source§impl PartialEq for EncryptionError
impl PartialEq for EncryptionError
impl Copy for EncryptionError
impl Eq for EncryptionError
impl StructuralPartialEq for EncryptionError
Auto Trait Implementations§
impl Freeze for EncryptionError
impl RefUnwindSafe for EncryptionError
impl Send for EncryptionError
impl Sync for EncryptionError
impl Unpin for EncryptionError
impl UnwindSafe for EncryptionError
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