#[non_exhaustive]pub struct IoCounters {
pub device: String,
pub totals: IoTotals,
}Expand description
One disk’s cumulative counters.
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.device: StringThe disk: nvme0n1, disk0, PhysicalDrive0.
totals: IoTotalsIts counters.
Trait Implementations§
Source§impl Clone for IoCounters
impl Clone for IoCounters
Source§impl Debug for IoCounters
impl Debug for IoCounters
impl Eq for IoCounters
Source§impl PartialEq for IoCounters
impl PartialEq for IoCounters
impl StructuralPartialEq for IoCounters
Auto Trait Implementations§
impl Forget for IoCounters
impl Freeze for IoCounters
impl RefUnwindSafe for IoCounters
impl Send for IoCounters
impl Sync for IoCounters
impl Unpin for IoCounters
impl UnsafeUnpin for IoCounters
impl UnwindSafe for IoCounters
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