#[repr(C)]pub struct DriverStats {
pub read_count: u64,
pub write_count: u64,
pub ioctl_count: u64,
pub bytes_read: u64,
pub bytes_written: u64,
}Expand description
Driver statistics structure - shared between kernel and user mode
Fields§
§read_count: u64§write_count: u64§ioctl_count: u64§bytes_read: u64§bytes_written: u64Trait Implementations§
Source§impl Clone for DriverStats
impl Clone for DriverStats
Source§fn clone(&self) -> DriverStats
fn clone(&self) -> DriverStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriverStats
impl Debug for DriverStats
Source§impl Default for DriverStats
impl Default for DriverStats
Source§fn default() -> DriverStats
fn default() -> DriverStats
Returns the “default value” for a type. Read more
impl Copy for DriverStats
Auto Trait Implementations§
impl Freeze for DriverStats
impl RefUnwindSafe for DriverStats
impl Send for DriverStats
impl Sync for DriverStats
impl Unpin for DriverStats
impl UnsafeUnpin for DriverStats
impl UnwindSafe for DriverStats
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