Struct virtio_driver::virtqueue::VirtqueueCompletion
source · [−]pub struct VirtqueueCompletion<R> {
pub idx: u16,
pub req: R,
}Expand description
The result of a completed request
Fields
idx: u16The index of the first descriptor of the request as returned by add_request.
req: RDevice-specific per-request data like the request header or status byte.
Auto Trait Implementations
impl<R> RefUnwindSafe for VirtqueueCompletion<R>where
R: RefUnwindSafe,
impl<R> Send for VirtqueueCompletion<R>where
R: Send,
impl<R> Sync for VirtqueueCompletion<R>where
R: Sync,
impl<R> Unpin for VirtqueueCompletion<R>where
R: Unpin,
impl<R> UnwindSafe for VirtqueueCompletion<R>where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more