Struct sgx_trts::se::AlignReport
source · #[repr(C, align(512))]pub struct AlignReport(pub Report);
Tuple Fields§
§0: Report
Implementations§
source§impl AlignReport
impl AlignReport
pub fn get_self() -> &'static AlignReport
pub fn for_self() -> SgxResult<AlignReport>
pub fn for_target( target_info: &AlignTargetInfo, report_data: &AlignReportData ) -> SgxResult<AlignReport>
pub fn verify<F>(&self, check_mac: F) -> SgxResultwhere F: FnOnce(&Key128bit, &[u8; 384], &Mac) -> SgxResult,
pub fn mac_data(&self) -> &[u8; 384]
source§impl AlignReport
impl AlignReport
pub const UNPADDED_SIZE: usize = 432usize
pub const ALIGN_SIZE: usize = 512usize
pub const TRUNCATED_SIZE: usize = 384usize
pub fn try_copy_from(src: &[u8]) -> Option<AlignReport>
Trait Implementations§
source§impl Clone for AlignReport
impl Clone for AlignReport
source§fn clone(&self) -> AlignReport
fn clone(&self) -> AlignReport
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 AlignReport
impl Debug for AlignReport
source§impl Default for AlignReport
impl Default for AlignReport
source§fn default() -> AlignReport
fn default() -> AlignReport
Returns the “default value” for a type. Read more
source§impl From<&Report> for AlignReport
impl From<&Report> for AlignReport
source§fn from(r: &Report) -> AlignReport
fn from(r: &Report) -> AlignReport
Converts to this type from the input type.
source§impl From<AlignReport> for AlignTargetInfo
impl From<AlignReport> for AlignTargetInfo
source§fn from(r: AlignReport) -> AlignTargetInfo
fn from(r: AlignReport) -> AlignTargetInfo
Converts to this type from the input type.
source§impl From<AlignReport> for Report
impl From<AlignReport> for Report
source§fn from(r: AlignReport) -> Report
fn from(r: AlignReport) -> Report
Converts to this type from the input type.
source§impl From<Report> for AlignReport
impl From<Report> for AlignReport
source§fn from(r: Report) -> AlignReport
fn from(r: Report) -> AlignReport
Converts to this type from the input type.
impl ContiguousMemory for AlignReport
impl Copy for AlignReport
Auto Trait Implementations§
impl RefUnwindSafe for AlignReport
impl Send for AlignReport
impl Sync for AlignReport
impl Unpin for AlignReport
impl UnwindSafe for AlignReport
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