[][src]Struct sgx_isa::Secs

#[repr(C, align(4096))]pub struct Secs {
    pub size: u64,
    pub baseaddr: u64,
    pub ssaframesize: u32,
    pub miscselect: Miscselect,
    pub _reserved1: [u8; 24],
    pub attributes: Attributes,
    pub mrenclave: [u8; 32],
    pub _reserved2: [u8; 32],
    pub mrsigner: [u8; 32],
    pub _reserved3: [u8; 96],
    pub isvprodid: u16,
    pub isvsvn: u16,
    pub padding: [u8; 3836],
}

Fields

size: u64baseaddr: u64ssaframesize: u32miscselect: Miscselect_reserved1: [u8; 24]attributes: Attributesmrenclave: [u8; 32]_reserved2: [u8; 32]mrsigner: [u8; 32]_reserved3: [u8; 96]isvprodid: u16isvsvn: u16padding: [u8; 3836]

Implementations

impl Secs[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 Secs[src]

pub const UNPADDED_SIZE: usize[src]

Trait Implementations

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

impl Clone for Secs[src]

impl Debug for Secs[src]

impl Default for Secs[src]

impl Eq for Secs[src]

impl PartialEq<Secs> for Secs[src]

Auto Trait Implementations

impl Send for Secs

impl Sync for Secs

impl Unpin for Secs

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.