Struct sgx_isa::Einittoken
source · #[repr(C)]pub struct Einittoken {Show 15 fields
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: Attributes
mrenclave: [u8; 32]
_reserved2: [u8; 32]
mrsigner: [u8; 32]
_reserved3: [u8; 32]
cpusvnle: [u8; 16]
isvprodidle: u16
isvsvnle: u16
_reserved4: [u8; 24]
maskedmiscselectle: Miscselect
maskedattributesle: Attributes
keyid: [u8; 32]
mac: [u8; 16]
Implementations
sourceimpl Einittoken
impl Einittoken
pub fn size() -> usize
sourcepub fn try_copy_from(src: &[u8]) -> Option<Einittoken>
pub fn try_copy_from(src: &[u8]) -> Option<Einittoken>
If src
has the correct length for this type, returns Some<T>
copied from src
, else returns None
.
Trait Implementations
sourceimpl AsRef<[u8]> for Einittoken
impl AsRef<[u8]> for Einittoken
sourceimpl Clone for Einittoken
impl Clone for Einittoken
sourcefn clone(&self) -> Einittoken
fn clone(&self) -> Einittoken
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Einittoken
impl Debug for Einittoken
sourceimpl Default for Einittoken
impl Default for Einittoken
sourcefn default() -> Einittoken
fn default() -> Einittoken
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Einittoken> for Einittoken
impl PartialEq<Einittoken> for Einittoken
sourcefn eq(&self, other: &Einittoken) -> bool
fn eq(&self, other: &Einittoken) -> bool
impl Eq for Einittoken
Auto Trait Implementations
impl RefUnwindSafe for Einittoken
impl Send for Einittoken
impl Sync for Einittoken
impl Unpin for Einittoken
impl UnwindSafe for Einittoken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more