pub struct VirtqueueCompletion<R> {
pub id: u16,
pub req: R,
}
Expand description
The result of a completed request
Fields§
§id: u16
The identifier of the descriptors chain for the request as returned by add_request
.
req: R
Device-specific per-request data like the request header or status byte.
Auto Trait Implementations§
impl<R> Freeze for VirtqueueCompletion<R>where
R: Freeze,
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§
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