Struct raw_cpuid::SgxInfo

source ·
pub struct SgxInfo { /* private fields */ }
Expand description

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

Implementations§

Has SGX1 support.

Has SGX2 support.

Supports ENCLV instruction leaves EINCVIRTCHILD, EDECVIRTCHILD, and ESETCONTEXT.

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

Bit vector of supported extended SGX features.

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

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

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

Iterator over SGX sub-leafs.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.