pub struct FileStats {
pub bytes_read: u64,
pub bytes_written: u64,
pub read_operations: u64,
pub write_operations: u64,
pub seek_operations: u64,
}Expand description
Statistics for file operations
Fields§
§bytes_read: u64Total bytes read through stateful stream operations on this handle.
bytes_written: u64Total bytes written through this handle.
read_operations: u64Count of completed stateful stream read calls.
write_operations: u64Count of completed write calls.
seek_operations: u64Count of completed seek calls.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileStats
impl RefUnwindSafe for FileStats
impl Send for FileStats
impl Sync for FileStats
impl Unpin for FileStats
impl UnsafeUnpin for FileStats
impl UnwindSafe for FileStats
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