pub enum AttestError {
UnknownKind(String),
Payload(String),
DigestMismatch {
expected: String,
got: String,
},
LayerMismatch {
expected: String,
got: String,
},
NameDigestMismatch {
named: String,
found: String,
},
Signature(String),
}Variants§
UnknownKind(String)
Payload(String)
DigestMismatch
LayerMismatch
NameDigestMismatch
Signature(String)
Trait Implementations§
Source§impl Debug for AttestError
impl Debug for AttestError
Source§impl Display for AttestError
impl Display for AttestError
Source§impl Error for AttestError
impl Error for AttestError
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 From<AttestError> for CarryError
impl From<AttestError> for CarryError
Source§fn from(source: AttestError) -> Self
fn from(source: AttestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AttestError
impl RefUnwindSafe for AttestError
impl Send for AttestError
impl Sync for AttestError
impl Unpin for AttestError
impl UnsafeUnpin for AttestError
impl UnwindSafe for AttestError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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