[][src]Struct x86::cpuid::SgxInfo

pub struct SgxInfo { /* fields omitted */ }

Intel SGX Capability Enumeration Leaf, sub-leaf 0 (EAX = 12H, ECX = 0 and ECX = 1)

Methods

impl SgxInfo[src]

pub fn has_sgx1(&self) -> bool[src]

Has SGX1 support.

pub fn has_sgx2(&self) -> bool[src]

Has SGX2 support.

pub fn has_enclv_leaves_einvirtchild_edecvirtchild_esetcontext(&self) -> bool[src]

Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT.

pub fn has_encls_leaves_etrackc_erdinfo_eldbc_elduc(&self) -> bool[src]

Supports ENCLS instruction leaves ETRACKC, ERDINFO, ELDBC, and ELDUC.

pub fn miscselect(&self) -> u32[src]

Bit vector of supported extended SGX features.

pub fn max_enclave_size_non_64bit(&self) -> u8[src]

The maximum supported enclave size in non-64-bit mode is 2^retval.

pub fn max_enclave_size_64bit(&self) -> u8[src]

The maximum supported enclave size in 64-bit mode is 2^retval.

pub fn secs_attributes(&self) -> (u64, u64)[src]

Reports the valid bits of SECS.ATTRIBUTES[127:0] that software can set with ECREATE.

Important traits for SgxSectionIter
pub fn iter(&self) -> SgxSectionIter[src]

Iterator over SGX sub-leafs.

Trait Implementations

impl Debug for SgxInfo[src]

impl Default for SgxInfo[src]

Auto Trait Implementations

impl Send for SgxInfo

impl Sync for SgxInfo

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]