[][src]Struct sgx_urts::SgxEnclave

pub struct SgxEnclave { /* fields omitted */ }

Methods

impl SgxEnclave[src]

pub fn create<P: AsRef<Path>>(
    file_name: P,
    debug: i32,
    launch_token: &mut sgx_launch_token_t,
    launch_token_updated: &mut i32,
    misc_attr: &mut sgx_misc_attribute_t
) -> SgxResult<SgxEnclave>
[src]

pub fn create_encrypt<P: AsRef<Path>>(
    file_name: P,
    debug: i32,
    launch_token: &mut sgx_launch_token_t,
    launch_token_updated: &mut i32,
    misc_attr: &mut sgx_misc_attribute_t,
    sealed_key: *const sgx_sealed_data_t
) -> SgxResult<SgxEnclave>
[src]

pub fn create_with_workers<P: AsRef<Path>>(
    file_name: P,
    debug: i32,
    launch_token: &mut sgx_launch_token_t,
    launch_token_updated: &mut i32,
    misc_attr: &mut sgx_misc_attribute_t,
    num_uworkers: u32,
    num_tworkers: u32
) -> SgxResult<SgxEnclave>
[src]

pub fn create_from_buffer(
    buffer: &[u8],
    debug: i32,
    misc_attr: &mut sgx_misc_attribute_t,
    ex_features: u32,
    ex_features_p: &[*const c_void; 32]
) -> SgxResult<SgxEnclave>
[src]

pub fn destroy(self)[src]

pub fn geteid(&self) -> sgx_enclave_id_t[src]

pub fn get_target_info(&self) -> SgxResult<sgx_target_info_t>[src]

Trait Implementations

impl Clone for SgxEnclave[src]

impl Debug for SgxEnclave[src]

impl Default for SgxEnclave[src]

impl Drop for SgxEnclave[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.