pub struct DiskTotals {
pub read_bytes: u64,
pub write_bytes: u64,
}Expand description
Cumulative device counters, kept alongside rates so the Inspect screen can show totals as well as throughput.
Fields§
§read_bytes: u64Bytes read since boot.
write_bytes: u64Bytes written since boot.
Trait Implementations§
Source§impl Clone for DiskTotals
impl Clone for DiskTotals
Source§fn clone(&self) -> DiskTotals
fn clone(&self) -> DiskTotals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiskTotals
Source§impl Debug for DiskTotals
impl Debug for DiskTotals
Source§impl Default for DiskTotals
impl Default for DiskTotals
Source§fn default() -> DiskTotals
fn default() -> DiskTotals
Returns the “default value” for a type. Read more
Source§impl PartialEq for DiskTotals
impl PartialEq for DiskTotals
impl StructuralPartialEq for DiskTotals
Auto Trait Implementations§
impl Freeze for DiskTotals
impl RefUnwindSafe for DiskTotals
impl Send for DiskTotals
impl Sync for DiskTotals
impl Unpin for DiskTotals
impl UnsafeUnpin for DiskTotals
impl UnwindSafe for DiskTotals
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