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: u64
Size in bytes of the data block. If zero, the block is treated as a continuation pointer.
address: PhysicalAddress
Either a data block pointer or a continuation pointer.
- If
length
is non-zero, this is the physical address of the data block. - If
length
is zero:- If
addr
is non-zero, this is the physical address of another block ofCapsuleBlockDescriptor
. - If
addr
is 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 · source§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§fn cmp(&self, other: &CapsuleBlockDescriptor) -> Ordering
fn cmp(&self, other: &CapsuleBlockDescriptor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CapsuleBlockDescriptor
impl PartialEq for CapsuleBlockDescriptor
source§impl PartialOrd for CapsuleBlockDescriptor
impl PartialOrd for CapsuleBlockDescriptor
impl Copy for CapsuleBlockDescriptor
impl Eq for CapsuleBlockDescriptor
impl StructuralPartialEq for CapsuleBlockDescriptor
Auto Trait Implementations§
impl Freeze for CapsuleBlockDescriptor
impl RefUnwindSafe for CapsuleBlockDescriptor
impl Send for CapsuleBlockDescriptor
impl Sync for CapsuleBlockDescriptor
impl Unpin for CapsuleBlockDescriptor
impl UnwindSafe for CapsuleBlockDescriptor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)