pub enum PageState {
NotPresent,
PresentRo,
PresentRw,
}Expand description
Dynamic per-page first-touch state.
Variants§
NotPresent
Never touched; the next read pages-in, the next write CoWs.
PresentRo
Paged-in read-only (a read happened, or a pinned-cap page).
PresentRw
CoW’d (a write happened): writable.
Implementations§
Trait Implementations§
impl Copy for PageState
impl Eq for PageState
impl StructuralPartialEq for PageState
Auto Trait Implementations§
impl Freeze for PageState
impl RefUnwindSafe for PageState
impl Send for PageState
impl Sync for PageState
impl Unpin for PageState
impl UnsafeUnpin for PageState
impl UnwindSafe for PageState
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