pub struct VirtualDiskIo {
pub capacity: u64,
pub allocation: u64,
pub available: u64,
pub rd_req: u32,
pub rd_bytes: u64,
pub wr_req: u32,
pub wr_bytes: u64,
pub errs: u32,
}Expand description
Virtual Disk I/O - Format (0,2103)
Virtual domain disk statistics
§XDR Definition (sFlow Host)
/* Virtual Domain Disk statistics */
/* See libvirt, struct virDomainBlockInfo */
/* See libvirt, struct virDomainBlockStatsStruct */
/* opaque = counter_data; enterprise = 0; format = 2103 */
struct virt_disk_io {
unsigned hyper capacity; /* logical size in bytes */
unsigned hyper allocation; /* current allocation in bytes */
unsigned hyper physical; /* physical size in bytes of the container of the backing image */
unsigned int rd_req; /* number of read requests */
unsigned hyper rd_bytes; /* number of read bytes */
unsigned int wr_req; /* number of write requests */
unsigned hyper wr_bytes; /* number of written bytes */
unsigned int errs; /* read/write errors */
}ERRATUM: Field name changed from available to physical, and comment references corrected
from virtDomainBlockInfo/virtDomainBlockStatsStruct to virDomainBlockInfo/virDomainBlockStatsStruct.
Fields§
§capacity: u64Capacity in bytes
allocation: u64Allocation in bytes
available: u64Physical size in bytes of the container of the backing image (spec: physical)
ERRATUM: Field renamed from available (remaining free bytes) to physical
rd_req: u32Read requests
rd_bytes: u64Bytes read
wr_req: u32Write requests
wr_bytes: u64Bytes written
errs: u32Errors
Trait Implementations§
Source§impl Clone for VirtualDiskIo
impl Clone for VirtualDiskIo
Source§fn clone(&self) -> VirtualDiskIo
fn clone(&self) -> VirtualDiskIo
Returns a duplicate 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 VirtualDiskIo
impl Debug for VirtualDiskIo
Source§impl PartialEq for VirtualDiskIo
impl PartialEq for VirtualDiskIo
impl Eq for VirtualDiskIo
impl StructuralPartialEq for VirtualDiskIo
Auto Trait Implementations§
impl Freeze for VirtualDiskIo
impl RefUnwindSafe for VirtualDiskIo
impl Send for VirtualDiskIo
impl Sync for VirtualDiskIo
impl Unpin for VirtualDiskIo
impl UnwindSafe for VirtualDiskIo
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