[−][src]Struct sgx_isa::Report
Fields
cpusvn: [u8; 16]
miscselect: Miscselect
_reserved1: [u8; 28]
attributes: Attributes
mrenclave: [u8; 32]
_reserved2: [u8; 32]
mrsigner: [u8; 32]
_reserved3: [u8; 96]
isvprodid: u16
isvsvn: u16
_reserved4: [u8; 60]
reportdata: [u8; 64]
keyid: [u8; 32]
mac: [u8; 16]
Implementations
impl Report
[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 Report
[src]
pub const UNPADDED_SIZE: usize
[src]
pub const TRUNCATED_SIZE: usize
[src]
Report size without keyid and mac
pub fn mac_data(&self) -> &[u8; 384]
[src]
Returns that part of the Report
that is MACed.
Trait Implementations
impl AsRef<[u8]> for Report
[src]
impl Clone for Report
[src]
fn clone(&self) -> Report
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Report
[src]
impl Default for Report
[src]
impl Eq for Report
[src]
impl From<Report> for Targetinfo
[src]
fn from(r: Report) -> Targetinfo
[src]
impl PartialEq<Report> for Report
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,