Struct sgx_trts::se::AlignReport
source · [−]#[repr(C, align(512))]pub struct AlignReport(pub Report);
Tuple Fields
0: Report
Implementations
sourceimpl 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]
sourceimpl 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
sourceimpl Clone for AlignReport
impl Clone for AlignReport
sourcefn clone(&self) -> AlignReport
fn clone(&self) -> AlignReport
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AlignReport
impl Debug for AlignReport
sourceimpl Default for AlignReport
impl Default for AlignReport
sourcefn default() -> AlignReport
fn default() -> AlignReport
Returns the “default value” for a type. Read more
sourceimpl From<&Report> for AlignReport
impl From<&Report> for AlignReport
sourcefn from(r: &Report) -> AlignReport
fn from(r: &Report) -> AlignReport
Converts to this type from the input type.
sourceimpl From<AlignReport> for AlignTargetInfo
impl From<AlignReport> for AlignTargetInfo
sourcefn from(r: AlignReport) -> AlignTargetInfo
fn from(r: AlignReport) -> AlignTargetInfo
Converts to this type from the input type.
sourceimpl From<AlignReport> for Report
impl From<AlignReport> for Report
sourcefn from(r: AlignReport) -> Report
fn from(r: AlignReport) -> Report
Converts to this type from the input type.
sourceimpl From<Report> for AlignReport
impl From<Report> for AlignReport
sourcefn 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
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