Struct glommio::RingIoStats[][src]

pub struct RingIoStats { /* fields omitted */ }

Stores information about IO performed in a specific ring

Implementations

impl RingIoStats[src]

pub fn files_opened(&self) -> u64[src]

The total amount of files opened in this executor so far.

files_opened - files_closed gives the current open files count

pub fn files_closed(&self) -> u64[src]

The total amount of files closed in this executor so far.

files_opened - files_closed gives the current open files count

pub fn file_reads(&self) -> (u64, u64)[src]

File read IO stats

Returns the number of individual read ops as well as bytes read

pub fn file_buffered_reads(&self) -> (u64, u64)[src]

Buffered file read IO stats

Returns the number of individual buffered read ops as well as bytes read

pub fn file_writes(&self) -> (u64, u64)[src]

File write IO stats

Returns the number of individual write ops as well as bytes written

pub fn file_buffered_writes(&self) -> (u64, u64)[src]

Buffered file write IO stats

Returns the number of individual buffered write ops as well as bytes written

Trait Implementations

impl Clone for RingIoStats[src]

impl Copy for RingIoStats[src]

impl Debug for RingIoStats[src]

impl Default for RingIoStats[src]

impl Sum<RingIoStats> for RingIoStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.