[−][src]Struct raw_cpuid::SgxInfo
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]
Notable traits for SgxSectionIter
impl Iterator for SgxSectionIter type Item = SgxSectionInfo;
Iterator over SGX sub-leafs.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,