pub struct BootMeasurement {
pub stage: &'static str,
pub hash: [u8; 32],
pub timestamp: u64,
pub pcr_index: Option<u8>,
}Expand description
A single boot measurement entry in the measurement log
Fields§
§stage: &'static strHuman-readable description of what was measured
hash: [u8; 32]SHA-256 hash of the measured data
timestamp: u64Monotonic timestamp (kernel tick counter or similar)
pcr_index: Option<u8>PCR index this measurement was extended into (if any)
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BootMeasurement
impl RefUnwindSafe for BootMeasurement
impl Send for BootMeasurement
impl Sync for BootMeasurement
impl Unpin for BootMeasurement
impl UnwindSafe for BootMeasurement
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)