pub enum ConvergentEncryptionError {
EncryptionFailed(Error),
DecryptionFailed(Error),
CompressionFailed(String),
DecompressionFailed(String),
InvalidKeyLength,
InvalidNonceLength,
}Expand description
Error types for convergent encryption operations
Variants§
EncryptionFailed(Error)
Encryption operation failed
DecryptionFailed(Error)
Decryption operation failed
CompressionFailed(String)
Brotli compression failed
DecompressionFailed(String)
Brotli decompression failed
InvalidKeyLength
Invalid key length provided
InvalidNonceLength
Invalid nonce length provided
Trait Implementations§
Source§impl Debug for ConvergentEncryptionError
impl Debug for ConvergentEncryptionError
Source§impl Display for ConvergentEncryptionError
impl Display for ConvergentEncryptionError
Source§impl Error for ConvergentEncryptionError
impl Error for ConvergentEncryptionError
1.30.0 · Source§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()
Auto Trait Implementations§
impl Freeze for ConvergentEncryptionError
impl RefUnwindSafe for ConvergentEncryptionError
impl Send for ConvergentEncryptionError
impl Sync for ConvergentEncryptionError
impl Unpin for ConvergentEncryptionError
impl UnwindSafe for ConvergentEncryptionError
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