pub enum Meas {
ECreate(MeasECreate),
EAdd(MeasEAdd),
EExtend {
header: MeasEExtend,
data: [u8; 256],
},
BareEExtend(MeasEExtend),
Unsized(MeasECreate),
Unmeasured {
header: MeasEExtend,
data: [u8; 256],
},
BareUnmeasured(MeasEExtend),
}
Variants§
ECreate(MeasECreate)
EAdd(MeasEAdd)
EExtend
BareEExtend(MeasEExtend)
Unsized(MeasECreate)
The start of an SGXS file with an unknown enclave size which can be
filled in later. The size
member is an offset of where to write the
enclave size as a 64-bit unsigned little endian integer, in addition to
the size
member itself of course.
Unmeasured
A 256-byte chunk of memory that should be loaded but not measured.
BareUnmeasured(MeasEExtend)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Meas
impl RefUnwindSafe for Meas
impl Send for Meas
impl Sync for Meas
impl Unpin for Meas
impl UnwindSafe for Meas
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