moirai_async/fs/stats.rs
1/// Statistics for file operations
2#[derive(Debug, Default, Clone)]
3pub struct FileStats {
4 /// Total bytes read through stateful stream operations on this handle.
5 pub bytes_read: u64,
6 /// Total bytes written through this handle.
7 pub bytes_written: u64,
8 /// Count of completed stateful stream read calls.
9 pub read_operations: u64,
10 /// Count of completed write calls.
11 pub write_operations: u64,
12 /// Count of completed seek calls.
13 pub seek_operations: u64,
14}