pub enum DensorError {
EmptyId,
EvidenceMismatch,
}Expand description
A failure verifying a single densor object’s seal.
Variants§
EmptyId
densor_id was empty — a densor must be identifiable.
EvidenceMismatch
The recomputed evidence hash did not match the stored one (tamper / corruption).
Trait Implementations§
Source§impl Clone for DensorError
impl Clone for DensorError
Source§fn clone(&self) -> DensorError
fn clone(&self) -> DensorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DensorError
impl Debug for DensorError
Source§impl Display for DensorError
impl Display for DensorError
Source§impl Error for DensorError
impl Error for DensorError
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()
Source§impl PartialEq for DensorError
impl PartialEq for DensorError
Source§fn eq(&self, other: &DensorError) -> bool
fn eq(&self, other: &DensorError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DensorError
impl StructuralPartialEq for DensorError
Auto Trait Implementations§
impl Freeze for DensorError
impl RefUnwindSafe for DensorError
impl Send for DensorError
impl Sync for DensorError
impl Unpin for DensorError
impl UnsafeUnpin for DensorError
impl UnwindSafe for DensorError
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