pub trait PageFaultProvider:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn get_refault_count(&self) -> u64;
fn get_fault_count(&self) -> u64;
}Required Methods§
Sourcefn get_refault_count(&self) -> u64
fn get_refault_count(&self) -> u64
Returns the current number of page refaults of the system, since its start, i.e. pages resupplied after eviction.
Sourcefn get_fault_count(&self) -> u64
fn get_fault_count(&self) -> u64
Returns the total number of major page faults of the system, since its start, i.e. pages supplied by user pagers including readahead.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".