pub enum Error {
Show 13 variants
DecodeError(PEMError),
ParseError,
NotACertificate,
WrongKeyUsage,
WrongBasicConstraints,
UnsupportedSignatureAlgorithm,
ChainBroken,
UnknownProductName(String),
ReportParseError,
ReportSignatureParseError,
ReportSignatureMismatch,
ReportTcbVersionMismatch,
RequirementsNotSatisfied(&'static str),
}Variants§
DecodeError(PEMError)
ParseError
NotACertificate
Something else than a certificate was seen
WrongKeyUsage
WrongBasicConstraints
UnsupportedSignatureAlgorithm
ChainBroken
UnknownProductName(String)
ReportParseError
ReportSignatureParseError
ReportSignatureMismatch
ReportTcbVersionMismatch
RequirementsNotSatisfied(&'static str)
The report didn’t satisfy the requested verifications
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl Freeze for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
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