Struct glommio::RingIoStats [−][src]
pub struct RingIoStats { /* fields omitted */ }
Stores information about IO performed in a specific ring
Implementations
impl RingIoStats
[src]
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 Clone for RingIoStats
[src]fn clone(&self) -> RingIoStats
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RingIoStats
[src]
impl Copy for RingIoStats
[src]impl Default for RingIoStats
[src]
impl Default for RingIoStats
[src]fn default() -> RingIoStats
[src]
impl Sum<RingIoStats> for RingIoStats
[src]
impl Sum<RingIoStats> for RingIoStats
[src]fn sum<I: Iterator<Item = RingIoStats>>(iter: I) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for RingIoStats
impl RefUnwindSafe for RingIoStats
impl Send for RingIoStats
impl Send for RingIoStats
impl Sync for RingIoStats
impl Sync for RingIoStats
impl Unpin for RingIoStats
impl Unpin for RingIoStats
impl UnwindSafe for RingIoStats
impl UnwindSafe for RingIoStats