Struct sgx_isa::Einittoken
source · #[repr(C, align(512))]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§
source§impl Einittoken
impl Einittoken
sourcepub fn try_copy_from(src: &[u8]) -> Option<Self>
pub fn try_copy_from(src: &[u8]) -> Option<Self>
If src
has the correct length for this type, returns Some<T>
copied from src
, else returns None
.
source§impl Einittoken
impl Einittoken
pub const UNPADDED_SIZE: usize = 304usize
Trait Implementations§
source§impl AsRef<[u8]> for Einittoken
impl AsRef<[u8]> for Einittoken
source§impl Clone for Einittoken
impl Clone for Einittoken
source§fn clone(&self) -> Einittoken
fn clone(&self) -> Einittoken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Einittoken
impl Debug for Einittoken
source§impl Default for Einittoken
impl Default for Einittoken
source§fn default() -> Einittoken
fn default() -> Einittoken
Returns the “default value” for a type. Read more
source§impl PartialEq for Einittoken
impl PartialEq for Einittoken
source§fn eq(&self, other: &Einittoken) -> bool
fn eq(&self, other: &Einittoken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Einittoken
Auto Trait Implementations§
impl Freeze for Einittoken
impl RefUnwindSafe for Einittoken
impl Send for Einittoken
impl Sync for Einittoken
impl Unpin for Einittoken
impl UnwindSafe for Einittoken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more