[][src]Struct sgx_isa::Einittoken

#[repr(C, align(512))]pub struct Einittoken {
    pub valid: u32,
    pub _reserved1: [u8; 44],
    pub attributes: Attributes,
    pub mrenclave: [u8; 32],
    pub _reserved2: [u8; 32],
    pub mrsigner: [u8; 32],
    pub _reserved3: [u8; 32],
    pub cpusvnle: [u8; 16],
    pub isvprodidle: u16,
    pub isvsvnle: u16,
    pub _reserved4: [u8; 24],
    pub maskedmiscselectle: Miscselect,
    pub maskedattributesle: Attributes,
    pub keyid: [u8; 32],
    pub mac: [u8; 16],
}

Fields

valid: u32_reserved1: [u8; 44]attributes: Attributesmrenclave: [u8; 32]_reserved2: [u8; 32]mrsigner: [u8; 32]_reserved3: [u8; 32]cpusvnle: [u8; 16]isvprodidle: u16isvsvnle: u16_reserved4: [u8; 24]maskedmiscselectle: Miscselectmaskedattributesle: Attributeskeyid: [u8; 32]mac: [u8; 16]

Implementations

impl Einittoken[src]

pub fn try_copy_from(src: &[u8]) -> Option<Self>[src]

If src has the correct length for this type, returns Some<T> copied from src, else returns None.

impl Einittoken[src]

pub const UNPADDED_SIZE: usize[src]

Trait Implementations

impl AsRef<[u8]> for Einittoken[src]

impl Clone for Einittoken[src]

impl Debug for Einittoken[src]

impl Default for Einittoken[src]

impl Eq for Einittoken[src]

impl PartialEq<Einittoken> for Einittoken[src]

Auto Trait Implementations

impl Send for Einittoken

impl Sync for Einittoken

impl Unpin for Einittoken

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.