#[repr(u32)]
pub enum SgxStatus {
Show 72 variants
Success,
Unexpected,
InvalidParameter,
OutOfMemory,
EnclaveLost,
InvalidState,
UnsupportedFeature,
ThreadExit,
MemoryMapFailure,
InvalidFunction,
OutOfTcs,
EnclaveCrashed,
ECallNotAllowed,
OCallNotAllowed,
StackOverRun,
UndefinedSymbol,
InvalidEnclave,
InvalidEcnalveId,
InvalidSignature,
NotDebugEnclave,
OutOfEPC,
NoDevice,
MemoryMapConflict,
InvalidMetadata,
DeviceBusy,
InvalidVersion,
ModeIncompatible,
EnclaveFileAccess,
InvalidMisc,
InvalidLaunchToken,
MacMismatch,
InvalidAttribute,
InvalidCpusvn,
InvalidIsvsvn,
InvalidKeyname,
ServiceUnavailable,
ServiceTimeout,
InvalidEpidBlob,
ServiceInvalidPrivilege,
EpidMemoryRevoked,
UpdateNeeded,
NetworkFailure,
InvalidAeSession,
ServiceBusy,
McNotFound,
McNoAccess,
McUsedUp,
McOverQuota,
KdfMismatch,
UnrecognizedPlatform,
UnsupportedConfig,
NoPrivilege,
PclEncrypted,
PclNotEncrypted,
PclMacMismatch,
PclShaMismatch,
PclGuidMismatch,
BadStatus,
NoKeyId,
NameMismatch,
NotSgxFile,
CantOpenRecoveryFile,
CantWriteRecoveryFile,
RecoveryNeeded,
FluchFailed,
CloseFailed,
UnsupportedAttKeyid,
AttKeyCertFailed,
AttKeyUninitialized,
InvaliedAttKeyCertData,
INvaliedPlatfromCert,
EnclaveCreateInterrupted,
}
Variants
Success
Unexpected
InvalidParameter
OutOfMemory
EnclaveLost
InvalidState
UnsupportedFeature
ThreadExit
MemoryMapFailure
InvalidFunction
OutOfTcs
EnclaveCrashed
ECallNotAllowed
OCallNotAllowed
StackOverRun
UndefinedSymbol
InvalidEnclave
InvalidEcnalveId
InvalidSignature
NotDebugEnclave
OutOfEPC
NoDevice
MemoryMapConflict
InvalidMetadata
DeviceBusy
InvalidVersion
ModeIncompatible
EnclaveFileAccess
InvalidMisc
InvalidLaunchToken
MacMismatch
InvalidAttribute
InvalidCpusvn
InvalidIsvsvn
InvalidKeyname
ServiceUnavailable
ServiceTimeout
InvalidEpidBlob
ServiceInvalidPrivilege
EpidMemoryRevoked
UpdateNeeded
NetworkFailure
InvalidAeSession
ServiceBusy
McNotFound
McNoAccess
McUsedUp
McOverQuota
KdfMismatch
UnrecognizedPlatform
UnsupportedConfig
NoPrivilege
PclEncrypted
PclNotEncrypted
PclMacMismatch
PclShaMismatch
PclGuidMismatch
BadStatus
NoKeyId
NameMismatch
NotSgxFile
CantOpenRecoveryFile
CantWriteRecoveryFile
RecoveryNeeded
FluchFailed
CloseFailed
UnsupportedAttKeyid
AttKeyCertFailed
AttKeyUninitialized
InvaliedAttKeyCertData
INvaliedPlatfromCert
EnclaveCreateInterrupted
Implementations
sourceimpl SgxStatus
impl SgxStatus
pub fn is_success(&self) -> bool
Trait Implementations
sourceimpl Error for SgxStatus
impl Error for SgxStatus
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl Ord for SgxStatus
impl Ord for SgxStatus
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<SgxStatus> for SgxStatus
impl PartialOrd<SgxStatus> for SgxStatus
sourcefn partial_cmp(&self, other: &SgxStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &SgxStatus) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl ContiguousMemory for SgxStatus
impl Copy for SgxStatus
impl Eq for SgxStatus
impl StructuralEq for SgxStatus
impl StructuralPartialEq for SgxStatus
Auto Trait Implementations
impl RefUnwindSafe for SgxStatus
impl Send for SgxStatus
impl Sync for SgxStatus
impl Unpin for SgxStatus
impl UnwindSafe for SgxStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more