enum TranslationResult {
Physical(u64),
DemandZero,
PagefileEntry {
pagefile_num: u8,
page_offset: u64,
},
Transition(u64),
Prototype(u64),
}Expand description
Internal result of page table walk — not exposed publicly.
Variants§
Physical(u64)
Page is in physical memory at this address.
DemandZero
Page is demand-zero (all zeroes).
PagefileEntry
Page is in a pagefile.
Transition(u64)
Page is a transition page (still in physical memory at this PFN-derived address).
Prototype(u64)
Page uses a prototype PTE; carries the raw PTE value for resolution.
Trait Implementations§
Source§impl Clone for TranslationResult
impl Clone for TranslationResult
Source§fn clone(&self) -> TranslationResult
fn clone(&self) -> TranslationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranslationResult
impl Debug for TranslationResult
Source§impl PartialEq for TranslationResult
impl PartialEq for TranslationResult
impl Copy for TranslationResult
impl Eq for TranslationResult
impl StructuralPartialEq for TranslationResult
Auto Trait Implementations§
impl Freeze for TranslationResult
impl RefUnwindSafe for TranslationResult
impl Send for TranslationResult
impl Sync for TranslationResult
impl Unpin for TranslationResult
impl UnsafeUnpin for TranslationResult
impl UnwindSafe for TranslationResult
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.