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