pub enum EncryptionDecryptionError {
Crystals(CrystalsError),
KeyGenerationError(KeyGenerationError),
TryFromInt(TryFromIntError),
Packing(PackingError),
Rand(Error),
}
Variants§
Crystals(CrystalsError)
KeyGenerationError(KeyGenerationError)
TryFromInt(TryFromIntError)
Packing(PackingError)
Rand(Error)
Trait Implementations§
Source§impl Debug for EncryptionDecryptionError
impl Debug for EncryptionDecryptionError
Source§impl From<CrystalsError> for EncryptionDecryptionError
impl From<CrystalsError> for EncryptionDecryptionError
Source§fn from(error: CrystalsError) -> Self
fn from(error: CrystalsError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for EncryptionDecryptionError
impl From<Error> for EncryptionDecryptionError
Source§impl From<KeyGenerationError> for EncryptionDecryptionError
impl From<KeyGenerationError> for EncryptionDecryptionError
Source§fn from(error: KeyGenerationError) -> Self
fn from(error: KeyGenerationError) -> Self
Converts to this type from the input type.
Source§impl From<PackingError> for EncryptionDecryptionError
impl From<PackingError> for EncryptionDecryptionError
Source§fn from(error: PackingError) -> Self
fn from(error: PackingError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for EncryptionDecryptionError
impl From<TryFromIntError> for EncryptionDecryptionError
Source§fn from(error: TryFromIntError) -> Self
fn from(error: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncryptionDecryptionError
impl RefUnwindSafe for EncryptionDecryptionError
impl Send for EncryptionDecryptionError
impl Sync for EncryptionDecryptionError
impl Unpin for EncryptionDecryptionError
impl UnwindSafe for EncryptionDecryptionError
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