pub struct Header {
pub digest: [u32; 8],
pub identifier: u32,
pub kind: BootSvcKind,
pub length: u32,
}
Expand description
The Boot Services header common to all boot services commands and responses.
Fields§
§digest: [u32; 8]
A SHA256 digest over the rest of the boot services message.
identifier: u32
A tag that identifies this struct as a boot services message (‘BSVC’).
kind: BootSvcKind
The type of boot services message that follows this header.
length: u32
The length of the boot services message in bytes (including the header).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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