#[non_exhaustive]pub struct IoLatencies {
pub reads: Histogram,
pub writes: Histogram,
pub accepts: Histogram,
pub connects: Histogram,
pub files: Histogram,
}Expand description
How long each kind of a shard’s IO operations took, from their
submission to the kernel to their completion: see
ShardStats::io_latencies.
A multishot receive or accept is one operation for many arrivals and is not timed; nor is a cancelled operation or a readiness probe. File calls are timed on the ring, not the ones the blocking pool makes.
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.reads: HistogramReads and receives.
writes: HistogramWrites and sends.
accepts: HistogramAccepts, one connection each.
connects: HistogramConnects.
files: HistogramReads and writes of files.
Trait Implementations§
Source§impl Clone for IoLatencies
impl Clone for IoLatencies
Source§fn clone(&self) -> IoLatencies
fn clone(&self) -> IoLatencies
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 moreAuto Trait Implementations§
impl Freeze for IoLatencies
impl RefUnwindSafe for IoLatencies
impl Send for IoLatencies
impl Sync for IoLatencies
impl Unpin for IoLatencies
impl UnsafeUnpin for IoLatencies
impl UnwindSafe for IoLatencies
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