Struct sgx_trts::enclave::SgxGlobalData [−][src]
pub struct SgxGlobalData { /* fields omitted */ }
Methods
impl SgxGlobalData
[src]
impl SgxGlobalData
pub fn new() -> Self
[src]
pub fn new() -> Self
get global_data.
Note
This API is only an experimental funtion.
pub fn enclave_base(&self) -> usize
[src]
pub fn enclave_base(&self) -> usize
enclave_base is to get enclave map base address.
Note
This API is only an experimental funtion.
pub fn enclave_size(&self) -> usize
[src]
pub fn enclave_size(&self) -> usize
enclave_size is to get enclave map size.
Note
This API is only an experimental funtion.
pub fn heap_base(&self) -> usize
[src]
pub fn heap_base(&self) -> usize
heap_base is to get heap base address.
Note
This API is only an experimental funtion.
pub fn heap_offset(&self) -> usize
[src]
pub fn heap_offset(&self) -> usize
heap_offset is to get heap offset.
Note
This API is only an experimental funtion.
pub fn heap_size(&self) -> usize
[src]
pub fn heap_size(&self) -> usize
heap_size is to get heap size.
Note
This API is only an experimental funtion.
pub fn thread_policy(&self) -> SgxThreadPolicy
[src]
pub fn thread_policy(&self) -> SgxThreadPolicy
thread_policy is to get TCS policy.
Note
This API is only an experimental funtion.
Trait Implementations
impl Copy for SgxGlobalData
[src]
impl Copy for SgxGlobalData
impl Clone for SgxGlobalData
[src]
impl Clone for SgxGlobalData
fn clone(&self) -> SgxGlobalData
[src]
fn clone(&self) -> SgxGlobalData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for SgxGlobalData
impl Send for SgxGlobalData
impl Sync for SgxGlobalData
impl Sync for SgxGlobalData