Enum aesm_client::AesmError

source ·
pub enum AesmError {
Show 51 variants UnexpectedError_1, NoDeviceError_2, ParameterError_3, EpidblobError_4, EpidRevokedError_5, GetLicensetokenError_6, SessionInvalid_7, MaxNumSessionReached_8, PsdaUnavailable_9, EphSessionFailed_10, LongTermPairingFailed_11, NetworkError_12, NetworkBusyError_13, ProxySettingAssist_14, FileAccessError_15, SgxProvisionFailed_16, ServiceStopped_17, Busy_18, BackendServerBusy_19, UpdateAvailable_20, OutOfMemoryError_21, MsgError_22, ThreadError_23, SgxDeviceNotAvailable_24, EnableSgxDeviceFailed_25, PlatformInfoBlobInvalidSig_26, ServiceNotAvailable_27, KdfMismatch_28, OutOfEpc_29, ServiceUnavailable_30, UnrecognizedPlatform_31, EcdsaIdMismatch_32, PathnameBufferOverflow_33, ErrorStoredKey_34, PubKeyIdMismatch_35, InvalidPceSigScheme_36, AttKeyBlobError_37, UnsupportedAttKeyId_38, UnsupportedLoadingPolicy_39, InterfaceUnavailable_40, PlatformLibUnavailable_41, AttKeyNotInitialized_42, AttKeyCertDataInvalid_43, NoPlatformCertData_44, ReportError_45, EnclaveLost_46, InvalidReport_47, EnclaveLoadError_48, UnableToGenerateQeReport_49, KeyCertificationError_50, Unknown(u32),
}

Variants§

§

UnexpectedError_1

§

NoDeviceError_2

§

ParameterError_3

§

EpidblobError_4

§

EpidRevokedError_5

§

GetLicensetokenError_6

§

SessionInvalid_7

§

MaxNumSessionReached_8

§

PsdaUnavailable_9

§

EphSessionFailed_10

§

LongTermPairingFailed_11

§

NetworkError_12

§

NetworkBusyError_13

§

ProxySettingAssist_14

§

FileAccessError_15

§

SgxProvisionFailed_16

§

ServiceStopped_17

§

Busy_18

§

BackendServerBusy_19

§

UpdateAvailable_20

§

OutOfMemoryError_21

§

MsgError_22

§

ThreadError_23

§

SgxDeviceNotAvailable_24

§

EnableSgxDeviceFailed_25

§

PlatformInfoBlobInvalidSig_26

§

ServiceNotAvailable_27

§

KdfMismatch_28

§

OutOfEpc_29

§

ServiceUnavailable_30

§

UnrecognizedPlatform_31

§

EcdsaIdMismatch_32

§

PathnameBufferOverflow_33

§

ErrorStoredKey_34

§

PubKeyIdMismatch_35

§

InvalidPceSigScheme_36

§

AttKeyBlobError_37

§

UnsupportedAttKeyId_38

§

UnsupportedLoadingPolicy_39

§

InterfaceUnavailable_40

§

PlatformLibUnavailable_41

§

AttKeyNotInitialized_42

§

AttKeyCertDataInvalid_43

§

NoPlatformCertData_44

§

ReportError_45

§

EnclaveLost_46

§

InvalidReport_47

§

EnclaveLoadError_48

§

UnableToGenerateQeReport_49

§

KeyCertificationError_50

§

Unknown(u32)

Trait Implementations§

source§

impl Clone for AesmError

source§

fn clone(&self) -> AesmError

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 AesmError

source§

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

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

impl From<u32> for AesmError

source§

fn from(n: u32) -> AesmError

Converts to this type from the input type.
source§

impl Copy for AesmError

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where 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 T
where 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.