#[repr(u32)]
pub enum Quote3Error {
Show 79 variants Success = 0, Unexpected = 57_345, InvalidParameter = 57_346, OutOfMemory = 57_347, EcdsaIdMisMatch = 57_348, PathNameBufferOverflow = 57_349, FileAccessError = 57_350, StoredKey = 57_351, PubkeyIdMismatch = 57_352, InvalidPceSigScheme = 57_353, AttKeyBlobError = 57_354, UnsupportedAttKeyId = 57_355, UnsupportedLoadingPolicy = 57_356, InterfaceUnavailable = 57_357, PlatformLibUnavailable = 57_358, AttKeyNotInitialized = 57_359, AttKeyCertDataInvalid = 57_360, NoPlatformCertData = 57_361, OutOfEpc = 57_362, ErrorReport = 57_363, EnclaveLost = 57_364, InvalidReport = 57_365, EnclaveLoadError = 57_366, UnableToGenerateQeReport = 57_367, KeyCertifcationError = 57_368, NetworkError = 57_369, MessageError = 57_370, NoQuoteCollateralData = 57_371, QuoteCertificationDataUnsupported = 57_372, QuoteFormatUnsupported = 57_373, UnableToGenerateReport = 57_374, QeReportInvalidSignature = 57_375, QeReportUnsupportedFormat = 57_376, PckCertUnsupportedFormat = 57_377, PckCertChainError = 57_378, TcbInfoUnsupportedFormat = 57_379, TcbInfoMismatch = 57_380, QeIdentityUnsupportedFormat = 57_381, QeIdentityMismatch = 57_382, TcbOutOfDate = 57_383, TcbOutOfDateConfigurationNeeded = 57_384, EnclaveIdentityOutOfDate = 57_385, EnclaveReportIsvsvnOutOfDate = 57_386, QeIdentityOutOfDate = 57_387, TcbInfoExpired = 57_388, PckCertChainExpired = 57_389, CrlExpired = 57_390, SigningCertChainExpired = 57_391, EnclaveIdentityExpired = 57_392, PckRevoked = 57_393, TcbRevoked = 57_394, TcbConfigurationNeeded = 57_395, UnableToGetCollateral = 57_396, InvalidPrivilege = 57_397, NoQveIdentityData = 57_399, CrlUnsupportedFormat = 57_400, QeIdentityChainError = 57_401, TcbInfoChainError = 57_402, QvlQveMismatch = 57_403, TcbSwHardeningNeeded = 57_404, TcbConfigurationAndSwHardeningNeeded = 57_405, UnsupportedMode = 57_406, NoDevice = 57_407, ServiceUnavailable = 57_408, NetworkFailure = 57_409, ServiceTimeout = 57_410, ServiceBusy = 57_411, UnknownMessageResponse = 57_412, PersistentStorageError = 57_413, MessageParsingError = 57_414, PlatformUnknown = 57_415, UnknownApiVersion = 57_416, CertsUnavailable = 57_417, QveIdentityMismatch = 57_424, QveOutOfDate = 57_425, PswNotAvailable = 57_426, CollateralVersionNotSupported = 57_427, TdxModuleMismatch = 57_440, ErrorMax = 57_599,
}

Variants§

§

Success = 0

§

Unexpected = 57_345

§

InvalidParameter = 57_346

§

OutOfMemory = 57_347

§

EcdsaIdMisMatch = 57_348

§

PathNameBufferOverflow = 57_349

§

FileAccessError = 57_350

§

StoredKey = 57_351

§

PubkeyIdMismatch = 57_352

§

InvalidPceSigScheme = 57_353

§

AttKeyBlobError = 57_354

§

UnsupportedAttKeyId = 57_355

§

UnsupportedLoadingPolicy = 57_356

§

InterfaceUnavailable = 57_357

§

PlatformLibUnavailable = 57_358

§

AttKeyNotInitialized = 57_359

§

AttKeyCertDataInvalid = 57_360

§

NoPlatformCertData = 57_361

§

OutOfEpc = 57_362

§

ErrorReport = 57_363

§

EnclaveLost = 57_364

§

InvalidReport = 57_365

§

EnclaveLoadError = 57_366

§

UnableToGenerateQeReport = 57_367

§

KeyCertifcationError = 57_368

§

NetworkError = 57_369

§

MessageError = 57_370

§

NoQuoteCollateralData = 57_371

§

QuoteCertificationDataUnsupported = 57_372

§

QuoteFormatUnsupported = 57_373

§

UnableToGenerateReport = 57_374

§

QeReportInvalidSignature = 57_375

§

QeReportUnsupportedFormat = 57_376

§

PckCertUnsupportedFormat = 57_377

§

PckCertChainError = 57_378

§

TcbInfoUnsupportedFormat = 57_379

§

TcbInfoMismatch = 57_380

§

QeIdentityUnsupportedFormat = 57_381

§

QeIdentityMismatch = 57_382

§

TcbOutOfDate = 57_383

§

TcbOutOfDateConfigurationNeeded = 57_384

§

EnclaveIdentityOutOfDate = 57_385

§

EnclaveReportIsvsvnOutOfDate = 57_386

§

QeIdentityOutOfDate = 57_387

§

TcbInfoExpired = 57_388

§

PckCertChainExpired = 57_389

§

CrlExpired = 57_390

§

SigningCertChainExpired = 57_391

§

EnclaveIdentityExpired = 57_392

§

PckRevoked = 57_393

§

TcbRevoked = 57_394

§

TcbConfigurationNeeded = 57_395

§

UnableToGetCollateral = 57_396

§

InvalidPrivilege = 57_397

§

NoQveIdentityData = 57_399

§

CrlUnsupportedFormat = 57_400

§

QeIdentityChainError = 57_401

§

TcbInfoChainError = 57_402

§

QvlQveMismatch = 57_403

§

TcbSwHardeningNeeded = 57_404

§

TcbConfigurationAndSwHardeningNeeded = 57_405

§

UnsupportedMode = 57_406

§

NoDevice = 57_407

§

ServiceUnavailable = 57_408

§

NetworkFailure = 57_409

§

ServiceTimeout = 57_410

§

ServiceBusy = 57_411

§

UnknownMessageResponse = 57_412

§

PersistentStorageError = 57_413

§

MessageParsingError = 57_414

§

PlatformUnknown = 57_415

§

UnknownApiVersion = 57_416

§

CertsUnavailable = 57_417

§

QveIdentityMismatch = 57_424

§

QveOutOfDate = 57_425

§

PswNotAvailable = 57_426

§

CollateralVersionNotSupported = 57_427

§

TdxModuleMismatch = 57_440

§

ErrorMax = 57_599

Implementations§

source§

impl Quote3Error

source

pub fn __description(&self) -> &'static str

source

pub fn as_str(&self) -> &'static str

Trait Implementations§

source§

impl Clone for Quote3Error

source§

fn clone(&self) -> Quote3Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Quote3Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Quote3Error

source§

fn default() -> Quote3Error

Returns the “default value” for a type. Read more
source§

impl Display for Quote3Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Quote3Error> for u32

source§

fn from(n: Quote3Error) -> u32

Converts to this type from the input type.
source§

impl Ord for Quote3Error

source§

fn cmp(&self, other: &Quote3Error) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Quote3Error

source§

fn eq(&self, other: &Quote3Error) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Quote3Error

source§

fn partial_cmp(&self, other: &Quote3Error) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl TryFrom<u32> for Quote3Error

§

type Error = TryFromIntError

The type returned in the event of a conversion error.
source§

fn try_from(v: u32) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl ContiguousMemory for Quote3Error

source§

impl Copy for Quote3Error

source§

impl Eq for Quote3Error

source§

impl StructuralEq for Quote3Error

source§

impl StructuralPartialEq for Quote3Error

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.