pub struct PageFaultProviderImpl { /* private fields */ }Implementations§
Source§impl PageFaultProviderImpl
impl PageFaultProviderImpl
pub async fn listen_to_page_faults( &self, stream: PagerStatsSinkRequestStream, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for PageFaultProviderImpl
impl Clone for PageFaultProviderImpl
Source§impl Default for PageFaultProviderImpl
impl Default for PageFaultProviderImpl
Source§impl PageFaultProvider for PageFaultProviderImpl
impl PageFaultProvider for PageFaultProviderImpl
Source§fn 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.
Source§fn 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.
Auto Trait Implementations§
impl Freeze for PageFaultProviderImpl
impl RefUnwindSafe for PageFaultProviderImpl
impl Send for PageFaultProviderImpl
impl Sync for PageFaultProviderImpl
impl Unpin for PageFaultProviderImpl
impl UnsafeUnpin for PageFaultProviderImpl
impl UnwindSafe for PageFaultProviderImpl
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