pub struct DiskStat {
pub name: String,
pub read_completed: u64,
pub read_sectors: u64,
pub read_time_ms: u64,
pub write_completed: u64,
pub write_sectors: u64,
pub write_time_ms: u64,
pub io_in_progress: u64,
pub io_time_ms: u64,
}Expand description
Statistics for a single disk.
Fields§
§name: StringDevice name.
read_completed: u64Reads completed.
read_sectors: u64Sectors read.
read_time_ms: u64Read time in ms.
write_completed: u64Writes completed.
write_sectors: u64Sectors written.
write_time_ms: u64Write time in ms.
io_in_progress: u64I/O operations in progress.
io_time_ms: u64I/O time in ms.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskStat
impl RefUnwindSafe for DiskStat
impl Send for DiskStat
impl Sync for DiskStat
impl Unpin for DiskStat
impl UnwindSafe for DiskStat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request