pub enum Error {
Show 21 variants
PckIdParseError(&'static str),
ReadResponseError(Cow<'static, str>),
FetcherFailure(String),
IoError(Error),
PCSError(StatusCode, &'static str),
PCSParseError(Error),
PCSDecodeError(Cow<'static, str>),
HeaderMissing(&'static str),
HeaderDecodeError(Utf8Error),
HeaderParseError(&'static str),
CertificateParseError(&'static str),
CertificateEncodingError(ASN1Error),
NoEncPPID,
NoCPUSVN,
NoPCEISVSVN,
NoPCEID,
NoQeID,
NoAPIKey,
OfflineAttestationError(Error),
BadRequest(&'static str),
RequestNotSupported,
}Variants§
PckIdParseError(&'static str)
ReadResponseError(Cow<'static, str>)
FetcherFailure(String)
IoError(Error)
PCSError(StatusCode, &'static str)
PCSParseError(Error)
PCSDecodeError(Cow<'static, str>)
HeaderMissing(&'static str)
HeaderDecodeError(Utf8Error)
HeaderParseError(&'static str)
CertificateParseError(&'static str)
CertificateEncodingError(ASN1Error)
NoEncPPID
NoCPUSVN
NoPCEISVSVN
NoPCEID
NoQeID
NoAPIKey
OfflineAttestationError(Error)
BadRequest(&'static str)
RequestNotSupported
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
Source§impl<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read more