#[repr(C)]pub struct VpGpaPageChunk {
pub header: VbsChunkHeader,
pub metadata: u64,
pub page_number: u64,
}Expand description
Structure describing the page to be measured.
Page data is hashed after struct to generate digest, if not a full page, measurable data will be padded to VBS_VP_CHUNK_SIZE_BYTES
Fields§
§header: VbsChunkHeader§metadata: u64§page_number: u64Trait Implementations§
Source§impl IntoBytes for VpGpaPageChunk
impl IntoBytes for VpGpaPageChunk
Source§impl KnownLayout for VpGpaPageChunkwhere
u64: KnownLayout,
impl KnownLayout for VpGpaPageChunkwhere
u64: KnownLayout,
Source§type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self. Read more§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreimpl Immutable for VpGpaPageChunkwhere
VbsChunkHeader: Immutable,
u64: Immutable,
Auto Trait Implementations§
impl Freeze for VpGpaPageChunk
impl RefUnwindSafe for VpGpaPageChunk
impl Send for VpGpaPageChunk
impl Sync for VpGpaPageChunk
impl Unpin for VpGpaPageChunk
impl UnsafeUnpin for VpGpaPageChunk
impl UnwindSafe for VpGpaPageChunk
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