pub struct VirtqDesc {
pub addr: u64,
pub len: u32,
pub flags: u16,
pub next: u16,
}Expand description
A single descriptor read from the descriptor table. addr is a GPA.
Fields§
§addr: u64Guest physical address of the buffer.
len: u32Buffer length in bytes.
flags: u16Descriptor flags (NEXT / WRITE / INDIRECT).
next: u16Index of the next descriptor in the chain (valid iff NEXT is set).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtqDesc
impl RefUnwindSafe for VirtqDesc
impl Send for VirtqDesc
impl Sync for VirtqDesc
impl Unpin for VirtqDesc
impl UnsafeUnpin for VirtqDesc
impl UnwindSafe for VirtqDesc
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