Struct qapi_qmp::BlockDeviceStats
source · [−]pub struct BlockDeviceStats {Show 30 fields
pub invalid_rd_operations: i32,
pub failed_unmap_operations: i32,
pub flush_operations: i32,
pub flush_total_time_ns: i32,
pub failed_rd_operations: i32,
pub invalid_unmap_operations: i32,
pub idle_time_ns: Option<i32>,
pub wr_operations: i32,
pub rd_total_time_ns: i32,
pub unmap_total_time_ns: i32,
pub account_invalid: bool,
pub wr_latency_histogram: Option<BlockLatencyHistogramInfo>,
pub rd_latency_histogram: Option<BlockLatencyHistogramInfo>,
pub account_failed: bool,
pub wr_merged: i32,
pub invalid_flush_operations: i32,
pub wr_bytes: i32,
pub wr_total_time_ns: i32,
pub unmap_operations: i32,
pub unmap_merged: i32,
pub rd_operations: i32,
pub unmap_bytes: i32,
pub wr_highest_offset: i32,
pub rd_merged: i32,
pub invalid_wr_operations: i32,
pub timed_stats: Vec<BlockDeviceTimedStats>,
pub failed_wr_operations: i32,
pub failed_flush_operations: i32,
pub flush_latency_histogram: Option<BlockLatencyHistogramInfo>,
pub rd_bytes: i32,
}Fields
invalid_rd_operations: i32failed_unmap_operations: i32flush_operations: i32flush_total_time_ns: i32failed_rd_operations: i32invalid_unmap_operations: i32idle_time_ns: Option<i32>wr_operations: i32rd_total_time_ns: i32unmap_total_time_ns: i32account_invalid: boolwr_latency_histogram: Option<BlockLatencyHistogramInfo>rd_latency_histogram: Option<BlockLatencyHistogramInfo>account_failed: boolwr_merged: i32invalid_flush_operations: i32wr_bytes: i32wr_total_time_ns: i32unmap_operations: i32unmap_merged: i32rd_operations: i32unmap_bytes: i32wr_highest_offset: i32rd_merged: i32invalid_wr_operations: i32timed_stats: Vec<BlockDeviceTimedStats>failed_wr_operations: i32failed_flush_operations: i32flush_latency_histogram: Option<BlockLatencyHistogramInfo>rd_bytes: i32Trait Implementations
sourceimpl Clone for BlockDeviceStats
impl Clone for BlockDeviceStats
sourcefn clone(&self) -> BlockDeviceStats
fn clone(&self) -> BlockDeviceStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BlockDeviceStats
impl Debug for BlockDeviceStats
sourceimpl<'de> Deserialize<'de> for BlockDeviceStats
impl<'de> Deserialize<'de> for BlockDeviceStats
sourcefn 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
sourceimpl Serialize for BlockDeviceStats
impl Serialize for BlockDeviceStats
Auto Trait Implementations
impl RefUnwindSafe for BlockDeviceStats
impl Send for BlockDeviceStats
impl Sync for BlockDeviceStats
impl Unpin for BlockDeviceStats
impl UnwindSafe for BlockDeviceStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more