Enum teaclave_types::SgxStatus
source · [−]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.0fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl Ord for SgxStatus
impl Ord for SgxStatus
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.0const fn lt(&self, other: &Rhs) -> bool
const fn lt(&self, other: &Rhs) -> bool
1.0.0const 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 more1.0.0const fn gt(&self, other: &Rhs) -> bool
const fn gt(&self, other: &Rhs) -> bool
impl 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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> EnclaveRange for Twhere
T: ContiguousMemory,
impl<T> EnclaveRange for Twhere
T: ContiguousMemory,
default fn is_enclave_range(&self) -> bool
default fn is_host_range(&self) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more