#[non_exhaustive]pub struct IoTotals {
pub read: Bytes,
pub written: Bytes,
pub reads: u64,
pub writes: u64,
pub io_time: Option<Duration>,
}Expand description
Cumulative I/O counters since boot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.read: BytesBytes read.
written: BytesBytes written.
reads: u64Read operations completed.
writes: u64Write operations completed.
io_time: Option<Duration>Time with I/O in flight, when reported.
Trait Implementations§
impl Copy for IoTotals
impl Eq for IoTotals
impl StructuralPartialEq for IoTotals
Auto Trait Implementations§
impl Forget for IoTotals
impl Freeze for IoTotals
impl Move for IoTotals
impl RefUnwindSafe for IoTotals
impl Send for IoTotals
impl Sync for IoTotals
impl Unpin for IoTotals
impl UnsafeUnpin for IoTotals
impl UnwindSafe for IoTotals
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