Struct uefi_raw::capsule::CapsuleBlockDescriptor
source · #[repr(C)]pub struct CapsuleBlockDescriptor {
pub length: u64,
pub address: PhysicalAddress,
}Expand description
Descriptor that defines a scatter-gather list for passing a set of capsules to the firmware.
Fields§
§length: u64Size in bytes of the data block. If zero, the block is treated as a continuation pointer.
address: PhysicalAddressEither a data block pointer or a continuation pointer.
- If
lengthis non-zero, this is the physical address of the data block. - If
lengthis zero:- If
addris non-zero, this is the physical address of another block ofCapsuleBlockDescriptor. - If
addris zero, this entry represents the end of the list.
- If
Trait Implementations§
source§impl Clone for CapsuleBlockDescriptor
impl Clone for CapsuleBlockDescriptor
source§fn clone(&self) -> CapsuleBlockDescriptor
fn clone(&self) -> CapsuleBlockDescriptor
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 CapsuleBlockDescriptor
impl Debug for CapsuleBlockDescriptor
source§impl Default for CapsuleBlockDescriptor
impl Default for CapsuleBlockDescriptor
source§fn default() -> CapsuleBlockDescriptor
fn default() -> CapsuleBlockDescriptor
Returns the “default value” for a type. Read more
source§impl Hash for CapsuleBlockDescriptor
impl Hash for CapsuleBlockDescriptor
source§impl Ord for CapsuleBlockDescriptor
impl Ord for CapsuleBlockDescriptor
source§impl PartialEq for CapsuleBlockDescriptor
impl PartialEq for CapsuleBlockDescriptor
source§fn eq(&self, other: &CapsuleBlockDescriptor) -> bool
fn eq(&self, other: &CapsuleBlockDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.