[][src]Enum sgx_types::sgx_uswitchless_worker_type_t

#[repr(u32)]pub enum sgx_uswitchless_worker_type_t {
    SGX_USWITCHLESS_WORKER_TYPE_UNTRUSTED,
    SGX_USWITCHLESS_WORKER_TYPE_TRUSTED,
}

Variants

SGX_USWITCHLESS_WORKER_TYPE_UNTRUSTED
SGX_USWITCHLESS_WORKER_TYPE_TRUSTED

Methods

impl sgx_uswitchless_worker_type_t[src]

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

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

Trait Implementations

impl Clone for sgx_uswitchless_worker_type_t[src]

impl Copy for sgx_uswitchless_worker_type_t[src]

impl Default for sgx_uswitchless_worker_type_t[src]

impl Eq for sgx_uswitchless_worker_type_t[src]

impl PartialEq<sgx_uswitchless_worker_type_t> for sgx_uswitchless_worker_type_t[src]

impl StructuralEq for sgx_uswitchless_worker_type_t[src]

impl StructuralPartialEq for sgx_uswitchless_worker_type_t[src]

Auto Trait Implementations

impl Send for sgx_uswitchless_worker_type_t

impl Sync for sgx_uswitchless_worker_type_t

impl Unpin for sgx_uswitchless_worker_type_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.