Struct indy_utils::EncryptionError
source · pub struct EncryptionError {
pub context: Option<String>,
pub source: Option<Box<dyn StdError + Send + Sync + 'static>>,
}
Expand description
Error type for failure of encryption and decryption operations
Fields§
§context: Option<String>
§source: Option<Box<dyn StdError + Send + Sync + 'static>>
Implementations§
Trait Implementations§
source§impl Debug for EncryptionError
impl Debug for EncryptionError
source§impl Display for EncryptionError
impl Display for EncryptionError
source§impl Error for EncryptionError
impl Error for EncryptionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<&str> for EncryptionError
impl From<&str> for EncryptionError
source§impl<M, E> From<(M, E)> for EncryptionErrorwhere
M: Into<String>,
E: StdError + Send + Sync + 'static,
impl<M, E> From<(M, E)> for EncryptionErrorwhere M: Into<String>, E: StdError + Send + Sync + 'static,
source§impl From<String> for EncryptionError
impl From<String> for EncryptionError
source§impl From<UnexpectedError> for EncryptionError
impl From<UnexpectedError> for EncryptionError
source§fn from(err: UnexpectedError) -> Self
fn from(err: UnexpectedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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