[][src]Enum sgx_trts::cpu_feature::Feature

#[repr(u32)]pub enum Feature {
    none,
    ia32,
    fpu,
    cmov,
    mmx,
    fxsave,
    sse,
    sse2,
    sse3,
    ssse3,
    sse4_1,
    sse4_2,
    movbe,
    popcnt,
    pclmulqdq,
    aes,
    f16c,
    avx,
    rdrand,
    fma,
    bmi,
    lzcnt,
    hle,
    rtm,
    avx2,
    avx512dq,
    ptwrite,
    kncni,
    avx512f,
    adx,
    rdseed,
    avx512ifma,
    full_inorder,
    avx512er,
    avx512pf,
    avx512cd,
    sha,
    mpx,
    avx512bw,
    avx512vl,
    avx512vbmi,
    avx512_4fmaps,
    avx512_4vnniw,
    avx512_vpopcntdq,
    avx512_bitalg,
    avx512vbmi2,
    gfni,
    vaes,
    vpclmulqdq,
    avx512vnni,
    clwb,
    rdpid,
    ibt,
    shstk,
    sgx,
    wbnoinvd,
    pconfig,
    end,
}

Variants

none
ia32
fpu
cmov
mmx
fxsave
sse
sse2
sse3
ssse3
sse4_1
sse4_2
movbe
popcnt
pclmulqdq
aes
f16c
avx
rdrand
fma
bmi
lzcnt
hle
rtm
avx2
avx512dq
ptwrite
kncni
avx512f
adx
rdseed
avx512ifma
full_inorder
avx512er
avx512pf
avx512cd
sha
mpx
avx512bw
avx512vl
avx512vbmi
avx512_4fmaps
avx512_4vnniw
avx512_vpopcntdq
avx512_bitalg
avx512vbmi2
gfni
vaes
vpclmulqdq
avx512vnni
clwb
rdpid
ibt
shstk
sgx
wbnoinvd
pconfig
end

Methods

impl Feature[src]

pub fn from_repr(v: u32) -> Option<Self>[src]

pub fn from_key(self) -> u32[src]

impl Feature[src]

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

Trait Implementations

impl Clone for Feature[src]

impl Copy for Feature[src]

impl Default for Feature[src]

impl Eq for Feature[src]

impl PartialEq<Feature> for Feature[src]

impl StructuralEq for Feature[src]

impl StructuralPartialEq for Feature[src]

Auto Trait Implementations

impl Send for Feature

impl Sync for Feature

impl Unpin for Feature

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.