[][src]Struct sgx_isa::Tcs

#[repr(C, align(4096))]pub struct Tcs {
    pub _reserved1: u64,
    pub flags: TcsFlags,
    pub ossa: u64,
    pub cssa: u32,
    pub nssa: u32,
    pub oentry: u64,
    pub _reserved2: u64,
    pub ofsbasgx: u64,
    pub ogsbasgx: u64,
    pub fslimit: u32,
    pub gslimit: u32,
    pub _reserved3: [u8; 4024],
}

Fields

_reserved1: u64flags: TcsFlagsossa: u64cssa: u32nssa: u32oentry: u64_reserved2: u64ofsbasgx: u64ogsbasgx: u64fslimit: u32gslimit: u32_reserved3: [u8; 4024]

Implementations

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

pub const UNPADDED_SIZE: usize[src]

Trait Implementations

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

impl Clone for Tcs[src]

impl Debug for Tcs[src]

impl Default for Tcs[src]

impl Eq for Tcs[src]

impl PartialEq<Tcs> for Tcs[src]

Auto Trait Implementations

impl Send for Tcs

impl Sync for Tcs

impl Unpin for Tcs

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.