[][src]Enum sgx_types::sgx_status_t

#[repr(u32)]pub enum sgx_status_t {
    SGX_SUCCESS,
    SGX_ERROR_UNEXPECTED,
    SGX_ERROR_INVALID_PARAMETER,
    SGX_ERROR_OUT_OF_MEMORY,
    SGX_ERROR_ENCLAVE_LOST,
    SGX_ERROR_INVALID_STATE,
    SGX_ERROR_FEATURE_NOT_SUPPORTED,
    SGX_PTHREAD_EXIT,
    SGX_ERROR_INVALID_FUNCTION,
    SGX_ERROR_OUT_OF_TCS,
    SGX_ERROR_ENCLAVE_CRASHED,
    SGX_ERROR_ECALL_NOT_ALLOWED,
    SGX_ERROR_OCALL_NOT_ALLOWED,
    SGX_ERROR_STACK_OVERRUN,
    SGX_ERROR_UNDEFINED_SYMBOL,
    SGX_ERROR_INVALID_ENCLAVE,
    SGX_ERROR_INVALID_ENCLAVE_ID,
    SGX_ERROR_INVALID_SIGNATURE,
    SGX_ERROR_NDEBUG_ENCLAVE,
    SGX_ERROR_OUT_OF_EPC,
    SGX_ERROR_NO_DEVICE,
    SGX_ERROR_MEMORY_MAP_CONFLICT,
    SGX_ERROR_INVALID_METADATA,
    SGX_ERROR_DEVICE_BUSY,
    SGX_ERROR_INVALID_VERSION,
    SGX_ERROR_MODE_INCOMPATIBLE,
    SGX_ERROR_ENCLAVE_FILE_ACCESS,
    SGX_ERROR_INVALID_MISC,
    SGX_ERROR_INVALID_LAUNCH_TOKEN,
    SGX_ERROR_MAC_MISMATCH,
    SGX_ERROR_INVALID_ATTRIBUTE,
    SGX_ERROR_INVALID_CPUSVN,
    SGX_ERROR_INVALID_ISVSVN,
    SGX_ERROR_INVALID_KEYNAME,
    SGX_ERROR_SERVICE_UNAVAILABLE,
    SGX_ERROR_SERVICE_TIMEOUT,
    SGX_ERROR_AE_INVALID_EPIDBLOB,
    SGX_ERROR_SERVICE_INVALID_PRIVILEGE,
    SGX_ERROR_EPID_MEMBER_REVOKED,
    SGX_ERROR_UPDATE_NEEDED,
    SGX_ERROR_NETWORK_FAILURE,
    SGX_ERROR_AE_SESSION_INVALID,
    SGX_ERROR_BUSY,
    SGX_ERROR_MC_NOT_FOUND,
    SGX_ERROR_MC_NO_ACCESS_RIGHT,
    SGX_ERROR_MC_USED_UP,
    SGX_ERROR_MC_OVER_QUOTA,
    SGX_ERROR_KDF_MISMATCH,
    SGX_ERROR_UNRECOGNIZED_PLATFORM,
    SGX_ERROR_UNSUPPORTED_CONFIG,
    SGX_ERROR_NO_PRIVILEGE,
    SGX_ERROR_PCL_ENCRYPTED,
    SGX_ERROR_PCL_NOT_ENCRYPTED,
    SGX_ERROR_PCL_MAC_MISMATCH,
    SGX_ERROR_PCL_SHA_MISMATCH,
    SGX_ERROR_PCL_GUID_MISMATCH,
    SGX_ERROR_FILE_BAD_STATUS,
    SGX_ERROR_FILE_NO_KEY_ID,
    SGX_ERROR_FILE_NAME_MISMATCH,
    SGX_ERROR_FILE_NOT_SGX_FILE,
    SGX_ERROR_FILE_CANT_OPEN_RECOVERY_FILE,
    SGX_ERROR_FILE_CANT_WRITE_RECOVERY_FILE,
    SGX_ERROR_FILE_RECOVERY_NEEDED,
    SGX_ERROR_FILE_FLUSH_FAILED,
    SGX_ERROR_FILE_CLOSE_FAILED,
    SGX_ERROR_UNSUPPORTED_ATT_KEY_ID,
    SGX_ERROR_ATT_KEY_CERTIFICATION_FAILURE,
    SGX_ERROR_ATT_KEY_UNINITIALIZED,
    SGX_ERROR_INVALID_ATT_KEY_CERT_DATA,
    SGX_ERROR_PLATFORM_CERT_UNAVAILABLE,
    SGX_INTERNAL_ERROR_ENCLAVE_CREATE_INTERRUPTED,
    SGX_ERROR_WASM_BUFFER_TOO_SHORT,
    SGX_ERROR_WASM_INTERPRETER_ERROR,
    SGX_ERROR_WASM_LOAD_MODULE_ERROR,
    SGX_ERROR_WASM_TRY_LOAD_ERROR,
    SGX_ERROR_WASM_REGISTER_ERROR,
    SGX_ERROR_FAAS_BUFFER_TOO_SHORT,
    SGX_ERROR_FAAS_INTERNAL_ERROR,
}

Variants

SGX_SUCCESS
SGX_ERROR_UNEXPECTED
SGX_ERROR_INVALID_PARAMETER
SGX_ERROR_OUT_OF_MEMORY
SGX_ERROR_ENCLAVE_LOST
SGX_ERROR_INVALID_STATE
SGX_ERROR_FEATURE_NOT_SUPPORTED
SGX_PTHREAD_EXIT
SGX_ERROR_INVALID_FUNCTION
SGX_ERROR_OUT_OF_TCS
SGX_ERROR_ENCLAVE_CRASHED
SGX_ERROR_ECALL_NOT_ALLOWED
SGX_ERROR_OCALL_NOT_ALLOWED
SGX_ERROR_STACK_OVERRUN
SGX_ERROR_UNDEFINED_SYMBOL
SGX_ERROR_INVALID_ENCLAVE
SGX_ERROR_INVALID_ENCLAVE_ID
SGX_ERROR_INVALID_SIGNATURE
SGX_ERROR_NDEBUG_ENCLAVE
SGX_ERROR_OUT_OF_EPC
SGX_ERROR_NO_DEVICE
SGX_ERROR_MEMORY_MAP_CONFLICT
SGX_ERROR_INVALID_METADATA
SGX_ERROR_DEVICE_BUSY
SGX_ERROR_INVALID_VERSION
SGX_ERROR_MODE_INCOMPATIBLE
SGX_ERROR_ENCLAVE_FILE_ACCESS
SGX_ERROR_INVALID_MISC
SGX_ERROR_INVALID_LAUNCH_TOKEN
SGX_ERROR_MAC_MISMATCH
SGX_ERROR_INVALID_ATTRIBUTE
SGX_ERROR_INVALID_CPUSVN
SGX_ERROR_INVALID_ISVSVN
SGX_ERROR_INVALID_KEYNAME
SGX_ERROR_SERVICE_UNAVAILABLE
SGX_ERROR_SERVICE_TIMEOUT
SGX_ERROR_AE_INVALID_EPIDBLOB
SGX_ERROR_SERVICE_INVALID_PRIVILEGE
SGX_ERROR_EPID_MEMBER_REVOKED
SGX_ERROR_UPDATE_NEEDED
SGX_ERROR_NETWORK_FAILURE
SGX_ERROR_AE_SESSION_INVALID
SGX_ERROR_BUSY
SGX_ERROR_MC_NOT_FOUND
SGX_ERROR_MC_NO_ACCESS_RIGHT
SGX_ERROR_MC_USED_UP
SGX_ERROR_MC_OVER_QUOTA
SGX_ERROR_KDF_MISMATCH
SGX_ERROR_UNRECOGNIZED_PLATFORM
SGX_ERROR_UNSUPPORTED_CONFIG
SGX_ERROR_NO_PRIVILEGE
SGX_ERROR_PCL_ENCRYPTED
SGX_ERROR_PCL_NOT_ENCRYPTED
SGX_ERROR_PCL_MAC_MISMATCH
SGX_ERROR_PCL_SHA_MISMATCH
SGX_ERROR_PCL_GUID_MISMATCH
SGX_ERROR_FILE_BAD_STATUS
SGX_ERROR_FILE_NO_KEY_ID
SGX_ERROR_FILE_NAME_MISMATCH
SGX_ERROR_FILE_NOT_SGX_FILE
SGX_ERROR_FILE_CANT_OPEN_RECOVERY_FILE
SGX_ERROR_FILE_CANT_WRITE_RECOVERY_FILE
SGX_ERROR_FILE_RECOVERY_NEEDED
SGX_ERROR_FILE_FLUSH_FAILED
SGX_ERROR_FILE_CLOSE_FAILED
SGX_ERROR_UNSUPPORTED_ATT_KEY_ID
SGX_ERROR_ATT_KEY_CERTIFICATION_FAILURE
SGX_ERROR_ATT_KEY_UNINITIALIZED
SGX_ERROR_INVALID_ATT_KEY_CERT_DATA
SGX_ERROR_PLATFORM_CERT_UNAVAILABLE
SGX_INTERNAL_ERROR_ENCLAVE_CREATE_INTERRUPTED
SGX_ERROR_WASM_BUFFER_TOO_SHORT
SGX_ERROR_WASM_INTERPRETER_ERROR
SGX_ERROR_WASM_LOAD_MODULE_ERROR
SGX_ERROR_WASM_TRY_LOAD_ERROR
SGX_ERROR_WASM_REGISTER_ERROR
SGX_ERROR_FAAS_BUFFER_TOO_SHORT
SGX_ERROR_FAAS_INTERNAL_ERROR

Methods

impl sgx_status_t[src]

pub fn from_repr(v: u32) -> Option<Self>[src]

pub fn from_key(self) -> u32[src]

impl sgx_status_t[src]

pub fn __description(&self) -> &str[src]

pub fn as_str(&self) -> &str[src]

Trait Implementations

impl Clone for sgx_status_t[src]

impl Copy for sgx_status_t[src]

impl Debug for sgx_status_t[src]

impl Default for sgx_status_t[src]

impl Display for sgx_status_t[src]

impl Eq for sgx_status_t[src]

impl Ord for sgx_status_t[src]

impl PartialEq<sgx_status_t> for sgx_status_t[src]

impl PartialOrd<sgx_status_t> for sgx_status_t[src]

impl StructuralEq for sgx_status_t[src]

impl StructuralPartialEq for sgx_status_t[src]

Auto Trait Implementations

impl Send for sgx_status_t

impl Sync for sgx_status_t

impl Unpin for sgx_status_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.