[−][src]Struct sgx_urts::SgxEnclave
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]
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>
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]
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>
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]
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>
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]
buffer: &[u8],
debug: i32,
misc_attr: &mut sgx_misc_attribute_t,
ex_features: u32,
ex_features_p: &[*const c_void; 32]
) -> SgxResult<SgxEnclave>
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 Drop for SgxEnclave
[src]
impl Default for SgxEnclave
[src]
fn default() -> SgxEnclave
[src]
impl Clone for SgxEnclave
[src]
fn clone(&self) -> SgxEnclave
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SgxEnclave
[src]
Auto Trait Implementations
impl Send for SgxEnclave
impl Unpin for SgxEnclave
impl Sync for SgxEnclave
impl UnwindSafe for SgxEnclave
impl RefUnwindSafe for SgxEnclave
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,