Struct qapi_qmp::VirtQueueStatus
source · pub struct VirtQueueStatus {Show 14 fields
pub last_avail_idx: Option<u16>,
pub shadow_avail_idx: Option<u16>,
pub inuse: u32,
pub name: String,
pub queue_index: u16,
pub signalled_used: u16,
pub signalled_used_valid: bool,
pub used_idx: u16,
pub vring_align: u32,
pub vring_avail: u64,
pub vring_desc: u64,
pub vring_num: u32,
pub vring_num_default: u32,
pub vring_used: u64,
}
Fields§
§last_avail_idx: Option<u16>
§shadow_avail_idx: Option<u16>
§inuse: u32
§name: String
§queue_index: u16
§signalled_used: u16
§signalled_used_valid: bool
§used_idx: u16
§vring_align: u32
§vring_avail: u64
§vring_desc: u64
§vring_num: u32
§vring_num_default: u32
§vring_used: u64
Trait Implementations§
source§impl Clone for VirtQueueStatus
impl Clone for VirtQueueStatus
source§fn clone(&self) -> VirtQueueStatus
fn clone(&self) -> VirtQueueStatus
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 Debug for VirtQueueStatus
impl Debug for VirtQueueStatus
source§impl<'de> Deserialize<'de> for VirtQueueStatus
impl<'de> Deserialize<'de> for VirtQueueStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VirtQueueStatus
impl RefUnwindSafe for VirtQueueStatus
impl Send for VirtQueueStatus
impl Sync for VirtQueueStatus
impl Unpin for VirtQueueStatus
impl UnwindSafe for VirtQueueStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)