[][src]Struct sgx_isa::Keyrequest

#[repr(C)]
pub struct Keyrequest {
    pub keyname: u16,
    pub keypolicy: Keypolicy,
    pub isvsvn: u16,
    pub _reserved1: u16,
    pub cpusvn: [u8; 16],
    pub attributemask: [u64; 2],
    pub keyid: [u8; 32],
    pub miscmask: u32,
    pub _reserved2: [u8; 436],
}

Fields

keyname: u16keypolicy: Keypolicyisvsvn: u16_reserved1: u16cpusvn: [u8; 16]attributemask: [u64; 2]keyid: [u8; 32]miscmask: u32_reserved2: [u8; 436]

Methods

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

pub const UNPADDED_SIZE: usize[src]

Trait Implementations

impl Debug for Keyrequest[src]

impl PartialEq<Keyrequest> for Keyrequest[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for Keyrequest[src]

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

impl Clone for Keyrequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Keyrequest[src]

Auto Trait Implementations

impl Unpin for Keyrequest

impl Send for Keyrequest

impl Sync for Keyrequest

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]