pub enum Error {
Show 23 variants
MissingCaChain,
IncorrectCA,
InvalidCaFormat,
InvalidPckFormat(ASN1Error),
InvalidPck(String),
InvalidPcks(String),
InvalidFormatQe3Quote,
NoPckForTcbFound,
InvalidCrlFormat,
InvalidTcbInfo(String),
InvalidTcbEvaluationDataNumbers(String),
UnknownTcbType(u16),
Qe3NotValid(String),
InvalidFormatQe3Identity,
IoError(Error),
ParseError(Error),
NoPckCertData,
EncodingError(Error),
UnknownTcbInfoVersion(u16),
UntrustedTcbInfoVersion(u16, u16),
EnclaveTcbLevelNotFound,
UnknownQeIdentityVersion(u16),
InvalidDcapAttestationFormat,
}
Variants§
MissingCaChain
IncorrectCA
InvalidCaFormat
InvalidPckFormat(ASN1Error)
InvalidPck(String)
InvalidPcks(String)
InvalidFormatQe3Quote
NoPckForTcbFound
InvalidCrlFormat
InvalidTcbInfo(String)
InvalidTcbEvaluationDataNumbers(String)
UnknownTcbType(u16)
Qe3NotValid(String)
InvalidFormatQe3Identity
IoError(Error)
ParseError(Error)
NoPckCertData
EncodingError(Error)
UnknownTcbInfoVersion(u16)
UntrustedTcbInfoVersion(u16, u16)
EnclaveTcbLevelNotFound
UnknownQeIdentityVersion(u16)
InvalidDcapAttestationFormat
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§
§impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
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
§impl<E> Fail for E
impl<E> Fail for E
§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
§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