#[repr(C, align(4))]pub struct VirtqueueUsedRing<const MAX_QUEUE_SIZE: usize> { /* private fields */ }
Expand description
The Virtqueue used ring.
This struct is exposed to the VirtIO device for the device to indicate which
shared buffers (through the VirtqueueAvailableRing
have been processed.
It works similar to the available ring, but must never be written by the
VirtIO driver (guest) after it has been shared with the device, and as long
as the device is initialized.
Trait Implementations§
Auto Trait Implementations§
impl<const MAX_QUEUE_SIZE: usize> !Freeze for VirtqueueUsedRing<MAX_QUEUE_SIZE>
impl<const MAX_QUEUE_SIZE: usize> !RefUnwindSafe for VirtqueueUsedRing<MAX_QUEUE_SIZE>
impl<const MAX_QUEUE_SIZE: usize> Send for VirtqueueUsedRing<MAX_QUEUE_SIZE>
impl<const MAX_QUEUE_SIZE: usize> !Sync for VirtqueueUsedRing<MAX_QUEUE_SIZE>
impl<const MAX_QUEUE_SIZE: usize> Unpin for VirtqueueUsedRing<MAX_QUEUE_SIZE>
impl<const MAX_QUEUE_SIZE: usize> UnwindSafe for VirtqueueUsedRing<MAX_QUEUE_SIZE>
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