[][src]Struct raw_cpuid::SgxInfo

pub struct SgxInfo { /* fields omitted */ }

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

Implementations

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.

pub fn iter(&self) -> SgxSectionIter

Notable traits for SgxSectionIter

impl Iterator for SgxSectionIter type Item = SgxSectionInfo;
[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

impl Unpin for SgxInfo

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, 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.