pub struct DescChain {
pub head_idx: u16,
pub descriptors: Vec<VirtqDesc>,
}Expand description
A popped descriptor chain: the head index (used as the used-ring id) and the descriptors walked from it.
Fields§
§head_idx: u16Head descriptor index — the id written back to the used ring.
descriptors: Vec<VirtqDesc>Descriptors in chain order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DescChain
impl RefUnwindSafe for DescChain
impl Send for DescChain
impl Sync for DescChain
impl Unpin for DescChain
impl UnsafeUnpin for DescChain
impl UnwindSafe for DescChain
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