Struct vmm_vhost::message::DescStateSplit
source · #[repr(C, packed(1))]pub struct DescStateSplit {
pub inflight: u8,
padding: [u8; 5],
pub next: u16,
pub counter: u64,
}
Expand description
Inflight I/O descriptor state for split virtqueues
Fields§
§inflight: u8
Indicate whether this descriptor (only head) is inflight or not.
padding: [u8; 5]
Padding
next: u16
List of last batch of used descriptors, only when batching is used for submitting
counter: u64
Preserve order of fetching available descriptors, only for head descriptor
Implementations§
Trait Implementations§
source§impl Clone for DescStateSplit
impl Clone for DescStateSplit
source§fn clone(&self) -> DescStateSplit
fn clone(&self) -> DescStateSplit
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescStateSplit
impl Default for DescStateSplit
source§fn default() -> DescStateSplit
fn default() -> DescStateSplit
Returns the “default value” for a type. Read more
impl Copy for DescStateSplit
Auto Trait Implementations§
impl RefUnwindSafe for DescStateSplit
impl Send for DescStateSplit
impl Sync for DescStateSplit
impl Unpin for DescStateSplit
impl UnwindSafe for DescStateSplit
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