Enum procfs_core::process::PageInfo
source · 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 PartialEq for PageInfo
impl PartialEq for PageInfo
source§impl PartialOrd for PageInfo
impl PartialOrd for PageInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PageInfo
impl Eq for PageInfo
impl StructuralEq for PageInfo
impl StructuralPartialEq for PageInfo
Auto Trait Implementations§
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