pub struct BootMeasurement {
pub metadata: BootMeasurementMetadata,
pub measurement_value: HWHash,
}Expand description
Structure representing the boot measurement metadata and value.
Fields§
§metadata: BootMeasurementMetadataContains boot measurement metadata
measurement_value: HWHashValue of boot measurement (hash)
Trait Implementations§
Source§impl Clone for BootMeasurement
impl Clone for BootMeasurement
Source§fn clone(&self) -> BootMeasurement
fn clone(&self) -> BootMeasurement
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 BootMeasurement
impl Debug for BootMeasurement
Source§impl Default for BootMeasurement
impl Default for BootMeasurement
Source§fn default() -> BootMeasurement
fn default() -> BootMeasurement
Returns the “default value” for a type. Read more
Source§impl TryFrom<BootMeasurement> for Measurement
impl TryFrom<BootMeasurement> for Measurement
Source§fn try_from(value: BootMeasurement) -> Result<Self, Self::Error>
fn try_from(value: BootMeasurement) -> Result<Self, Self::Error>
Tries to convert the given BootMeasurement to Measurement.
Returns MeasurementError::InvalidData, when values cannot be properly converted.
Source§type Error = MeasurementError
type Error = MeasurementError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BootMeasurement
impl RefUnwindSafe for BootMeasurement
impl Send for BootMeasurement
impl Sync for BootMeasurement
impl Unpin for BootMeasurement
impl UnsafeUnpin for BootMeasurement
impl UnwindSafe for BootMeasurement
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