pub enum EncryptWithFileKeyError {
Wrap(String),
Io(String),
Crypto(String),
}Expand description
Error returned by encrypt_with_file_key.
Variants§
Wrap(String)
The recipient failed to wrap the file key.
Io(String)
An I/O error occurred while building the output.
Crypto(String)
A cryptographic operation failed.
Trait Implementations§
Source§impl Debug for EncryptWithFileKeyError
impl Debug for EncryptWithFileKeyError
Source§impl Display for EncryptWithFileKeyError
impl Display for EncryptWithFileKeyError
Source§impl Error for EncryptWithFileKeyError
impl Error for EncryptWithFileKeyError
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 EncryptWithFileKeyError
impl RefUnwindSafe for EncryptWithFileKeyError
impl Send for EncryptWithFileKeyError
impl Sync for EncryptWithFileKeyError
impl Unpin for EncryptWithFileKeyError
impl UnsafeUnpin for EncryptWithFileKeyError
impl UnwindSafe for EncryptWithFileKeyError
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