pub enum PageInfo {
MemoryPage(MemoryPageFlags),
SwapPage(SwapPageFlags),
}
Expand description
Represents a page table entry in /proc/<pid>/pagemap
.
Variants§
MemoryPage(MemoryPageFlags)
Entry referring to a memory page
SwapPage(SwapPageFlags)
Entry referring to a swapped page
Implementations§
Trait Implementations§
source§impl Ord for PageInfo
impl Ord for PageInfo
source§impl PartialOrd for PageInfo
impl PartialOrd for PageInfo
impl Copy for PageInfo
impl Eq for PageInfo
impl StructuralPartialEq for PageInfo
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnwindSafe for PageInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)