pub enum HteError {
Export(ExportError),
Import(ImportError),
}Available on crate feature
committing-aead only.Expand description
An error occurred during the Hash-then-Encrypt transform.
Variants§
Export(ExportError)
The current AEAD key could not be exported.
Import(ImportError)
The transformed AEAD key could not be imported.
Trait Implementations§
Source§impl Error for HteError
impl Error for HteError
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()
Source§impl From<ExportError> for HteError
impl From<ExportError> for HteError
Source§fn from(err: ExportError) -> Self
fn from(err: ExportError) -> Self
Converts to this type from the input type.
Source§impl From<ImportError> for HteError
impl From<ImportError> for HteError
Source§fn from(err: ImportError) -> Self
fn from(err: ImportError) -> Self
Converts to this type from the input type.
impl Eq for HteError
impl StructuralPartialEq for HteError
Auto Trait Implementations§
impl Freeze for HteError
impl RefUnwindSafe for HteError
impl Send for HteError
impl Sync for HteError
impl Unpin for HteError
impl UnwindSafe for HteError
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