[][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_ENABLEDSGX_DISABLED_REBOOT_REQUIREDSGX_DISABLED_LEGACY_OSSGX_DISABLEDSGX_DISABLED_SCI_AVAILABLESGX_DISABLED_MANUAL_ENABLESGX_DISABLED_HYPERV_ENABLEDSGX_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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<sgx_device_status_t> for sgx_device_status_t[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for sgx_device_status_t[src]

impl Copy for sgx_device_status_t[src]

impl Default for sgx_device_status_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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