#[repr(C, packed(1))]pub struct SevMailboxRegisters {
pub mailbox_interrupt_id: u8,
pub _reserved: [u8; 3],
pub cmd_resp_register_address: u64,
pub cmd_buf_addr_lo_register_address: u64,
pub cmd_buf_addr_hi_register_address: u64,
}Fields§
§mailbox_interrupt_id: u8§_reserved: [u8; 3]§cmd_resp_register_address: u64§cmd_buf_addr_lo_register_address: u64§cmd_buf_addr_hi_register_address: u64Trait Implementations§
Source§impl AsptStruct for SevMailboxRegisters
impl AsptStruct for SevMailboxRegisters
const TYPE: AsptStructType = AsptStructType::SEV_MAILBOX_REGISTERS
Source§impl Clone for SevMailboxRegisters
impl Clone for SevMailboxRegisters
Source§fn clone(&self) -> SevMailboxRegisters
fn clone(&self) -> SevMailboxRegisters
Returns a duplicate 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 SevMailboxRegisters
impl Debug for SevMailboxRegisters
Source§impl IntoBytes for SevMailboxRegisters
impl IntoBytes for SevMailboxRegisters
Source§impl KnownLayout for SevMailboxRegisterswhere
u64: KnownLayout,
impl KnownLayout for SevMailboxRegisterswhere
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 Copy for SevMailboxRegisters
impl Immutable for SevMailboxRegisters
Auto Trait Implementations§
impl Freeze for SevMailboxRegisters
impl RefUnwindSafe for SevMailboxRegisters
impl Send for SevMailboxRegisters
impl Sync for SevMailboxRegisters
impl Unpin for SevMailboxRegisters
impl UnwindSafe for SevMailboxRegisters
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