Struct uefi_raw::capsule::CapsuleHeader
source · #[repr(C)]pub struct CapsuleHeader {
pub capsule_guid: Guid,
pub header_size: u32,
pub flags: CapsuleFlags,
pub capsule_image_size: u32,
}
Expand description
Common header at the start of a capsule.
Fields§
§capsule_guid: Guid
GUID that defines the type of data in the capsule.
header_size: u32
Size in bytes of the capsule header. This may be larger than the size of
CapsuleHeader
since the specific capsule type defined by
capsule_guid
may add additional header fields.
flags: CapsuleFlags
Capsule update flags.
capsule_image_size: u32
Size in bytes of the entire capsule, including the header.
Trait Implementations§
source§impl Clone for CapsuleHeader
impl Clone for CapsuleHeader
source§fn clone(&self) -> CapsuleHeader
fn clone(&self) -> CapsuleHeader
Returns a copy 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 moresource§impl Debug for CapsuleHeader
impl Debug for CapsuleHeader
source§impl Default for CapsuleHeader
impl Default for CapsuleHeader
source§fn default() -> CapsuleHeader
fn default() -> CapsuleHeader
Returns the “default value” for a type. Read more
source§impl Hash for CapsuleHeader
impl Hash for CapsuleHeader
source§impl Ord for CapsuleHeader
impl Ord for CapsuleHeader
source§impl PartialEq for CapsuleHeader
impl PartialEq for CapsuleHeader
source§fn eq(&self, other: &CapsuleHeader) -> bool
fn eq(&self, other: &CapsuleHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.