struct Virtqueue {Show 16 fields
desc: *mut VirtqDesc,
avail: *mut VirtqAvail,
used: *mut VirtqUsed,
queue_idx: u16,
queue_size: u16,
notify_addr: usize,
free_stack: [u16; 64],
free_len: usize,
last_used_idx: u16,
cmd_phys: u64,
cmd_virt: *mut u8,
payload_phys: u64,
payload_virt: *mut u8,
payload_capacity: usize,
resp_phys: u64,
resp_virt: *mut u8,
}Fields§
§desc: *mut VirtqDesc§avail: *mut VirtqAvail§used: *mut VirtqUsed§queue_idx: u16§queue_size: u16§notify_addr: usize§free_stack: [u16; 64]§free_len: usize§last_used_idx: u16§cmd_phys: u64§cmd_virt: *mut u8§payload_phys: u64§payload_virt: *mut u8§payload_capacity: usize§resp_phys: u64§resp_virt: *mut u8Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Sync for Virtqueue
impl Freeze for Virtqueue
impl RefUnwindSafe for Virtqueue
impl Unpin for Virtqueue
impl UnsafeUnpin for Virtqueue
impl UnwindSafe for Virtqueue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more