pub struct MeasureFileReport { /* private fields */ }Expand description
One source file and its measurement-command evidence.
Implementations§
Source§impl MeasureFileReport
impl MeasureFileReport
Sourcepub fn new(
path: impl Into<String>,
input: InputIdentity,
rig: RigInfo,
measurements: MeasurementContract,
) -> Self
pub fn new( path: impl Into<String>, input: InputIdentity, rig: RigInfo, measurements: MeasurementContract, ) -> Self
Construct a measurement-command file report.
Sourcepub fn input(&self) -> &InputIdentity
pub fn input(&self) -> &InputIdentity
Immutable identity of the source bytes used to produce this record.
Sourcepub fn measurements(&self) -> &MeasurementContract
pub fn measurements(&self) -> &MeasurementContract
Nested measurement evidence.
Trait Implementations§
Source§impl Clone for MeasureFileReport
impl Clone for MeasureFileReport
Source§fn clone(&self) -> MeasureFileReport
fn clone(&self) -> MeasureFileReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MeasureFileReport
impl Debug for MeasureFileReport
Auto Trait Implementations§
impl Freeze for MeasureFileReport
impl RefUnwindSafe for MeasureFileReport
impl Send for MeasureFileReport
impl Sync for MeasureFileReport
impl Unpin for MeasureFileReport
impl UnsafeUnpin for MeasureFileReport
impl UnwindSafe for MeasureFileReport
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