Struct swap::page_handler::Region
source · struct Region {
head_page_idx: usize,
base_page_idx_in_file: usize,
num_pages: usize,
staging_memory: StagingMemory,
copied_from_file_pages: usize,
copied_from_staging_pages: usize,
zeroed_pages: usize,
swap_in_pages: usize,
redundant_pages: usize,
}
Fields§
§head_page_idx: usize
the head page index of the region.
base_page_idx_in_file: usize
§num_pages: usize
§staging_memory: StagingMemory
§copied_from_file_pages: usize
§copied_from_staging_pages: usize
§zeroed_pages: usize
§swap_in_pages: usize
§redundant_pages: usize
the amount of pages which were already initialized on page faults.
Auto Trait Implementations§
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
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