pub struct AddressedTrb {
pub trb: Trb,
pub gpa: u64,
}Expand description
POD struct associates a TRB with its address in guest memory. This is useful because transfer and command completion event TRBs must contain pointers to the original TRB that generated the event.
Fields§
§trb: Trb§gpa: u64Trait Implementations§
Source§impl Clone for AddressedTrb
impl Clone for AddressedTrb
Source§fn clone(&self) -> AddressedTrb
fn clone(&self) -> AddressedTrb
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 AddressedTrb
impl Debug for AddressedTrb
Source§impl PartialEq for AddressedTrb
impl PartialEq for AddressedTrb
impl Copy for AddressedTrb
impl Eq for AddressedTrb
impl StructuralPartialEq for AddressedTrb
Auto Trait Implementations§
impl Freeze for AddressedTrb
impl RefUnwindSafe for AddressedTrb
impl Send for AddressedTrb
impl Sync for AddressedTrb
impl Unpin for AddressedTrb
impl UnwindSafe for AddressedTrb
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