[][src]Enum sgx_types::sgx_device_status_t

#[repr(u32)]
pub enum sgx_device_status_t {
    SGX_ENABLED,
    SGX_DISABLED_REBOOT_REQUIRED,
    SGX_DISABLED_LEGACY_OS,
    SGX_DISABLED,
    SGX_DISABLED_SCI_AVAILABLE,
    SGX_DISABLED_MANUAL_ENABLE,
    SGX_DISABLED_HYPERV_ENABLED,
    SGX_DISABLED_UNSUPPORTED_CPU,
}

Variants

SGX_ENABLED
SGX_DISABLED_REBOOT_REQUIRED
SGX_DISABLED_LEGACY_OS
SGX_DISABLED
SGX_DISABLED_SCI_AVAILABLE
SGX_DISABLED_MANUAL_ENABLE
SGX_DISABLED_HYPERV_ENABLED
SGX_DISABLED_UNSUPPORTED_CPU

Methods

impl sgx_device_status_t[src]

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

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

Trait Implementations

impl Clone for sgx_device_status_t[src]

impl Copy for sgx_device_status_t[src]

impl Default for sgx_device_status_t[src]

impl Eq for sgx_device_status_t[src]

impl PartialEq<sgx_device_status_t> for sgx_device_status_t[src]

impl StructuralEq for sgx_device_status_t[src]

impl StructuralPartialEq for sgx_device_status_t[src]

Auto Trait Implementations

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.