pub enum AttestError{
AttestationError(AttestationError),
CertError(CertError),
NsmError(NsmError),
DecodeError(DecodeError),
DateParseError(ParseError),
}
Expand description
Top level wrapper to show which step in the attesation process failed.
Variants§
AttestationError(AttestationError)
CertError(CertError)
NsmError(NsmError)
DecodeError(DecodeError)
DateParseError(ParseError)
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
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<AttestationError> for AttestError
impl From<AttestationError> for AttestError
Source§fn from(source: AttestationError) -> Self
fn from(source: AttestationError) -> Self
Converts to this type from the input type.
Source§impl From<CertError> for AttestError
impl From<CertError> for AttestError
Source§impl From<DecodeError> for AttestError
impl From<DecodeError> for AttestError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for AttestError
impl From<ParseError> for AttestError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> 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 !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