[][src]Enum sgx_types::sgx_uswitchless_worker_event_t

#[repr(u32)]pub enum sgx_uswitchless_worker_event_t {
    SGX_USWITCHLESS_WORKER_EVENT_START,
    SGX_USWITCHLESS_WORKER_EVENT_IDLE,
    SGX_USWITCHLESS_WORKER_EVENT_MISS,
    SGX_USWITCHLESS_WORKER_EVENT_EXIT,
    SGX_USWITCHLESS_WORKER_EVENT_NUM,
}

Variants

SGX_USWITCHLESS_WORKER_EVENT_START
SGX_USWITCHLESS_WORKER_EVENT_IDLE
SGX_USWITCHLESS_WORKER_EVENT_MISS
SGX_USWITCHLESS_WORKER_EVENT_EXIT
SGX_USWITCHLESS_WORKER_EVENT_NUM

Methods

impl sgx_uswitchless_worker_event_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_event_t[src]

impl Copy for sgx_uswitchless_worker_event_t[src]

impl Default for sgx_uswitchless_worker_event_t[src]

impl Eq for sgx_uswitchless_worker_event_t[src]

impl PartialEq<sgx_uswitchless_worker_event_t> for sgx_uswitchless_worker_event_t[src]

impl StructuralEq for sgx_uswitchless_worker_event_t[src]

impl StructuralPartialEq for sgx_uswitchless_worker_event_t[src]

Auto Trait Implementations

impl Send for sgx_uswitchless_worker_event_t

impl Sync for sgx_uswitchless_worker_event_t

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