Struct sgx_trts::enclave::SgxThreadData [−][src]
pub struct SgxThreadData { /* fields omitted */ }Methods
impl SgxThreadData[src]
impl SgxThreadDatapub fn new() -> Self[src]
pub fn new() -> Selfget thread_data per thread.
Note
This API is only an experimental funtion.
pub fn td_base(&self) -> usize[src]
pub fn td_base(&self) -> usizetd_base is to get TD base address per thread.
Note
This API is only an experimental funtion.
pub fn stack_base(&self) -> usize[src]
pub fn stack_base(&self) -> usizestack_base is to get stack base address per thread.
Note
This API is only an experimental funtion.
pub fn stack_limit(&self) -> usize[src]
pub fn stack_limit(&self) -> usizestack_limit is to get stack limit per thread.
Note
This API is only an experimental funtion.
pub fn tls_base(&self) -> usize[src]
pub fn tls_base(&self) -> usizetls_base is to get tls base address per thread.
Note
This API is only an experimental funtion.
pub fn last_error(&self) -> usize[src]
pub fn last_error(&self) -> usizelast_error is to get last error per thread.
Note
This API is only an experimental funtion.
pub fn exception_flag(&self) -> usize[src]
pub fn exception_flag(&self) -> usizeexception_flag is to get exception flag per thread.
Note
This API is only an experimental funtion.
Trait Implementations
impl Copy for SgxThreadData[src]
impl Copy for SgxThreadDataimpl Clone for SgxThreadData[src]
impl Clone for SgxThreadDatafn clone(&self) -> SgxThreadData[src]
fn clone(&self) -> SgxThreadDataReturns 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 SgxThreadData
impl Send for SgxThreadDataimpl Sync for SgxThreadData
impl Sync for SgxThreadData