pub struct Entry(_);
Trait Implementations§
source§impl Entry for Entry
impl Entry for Entry
§type Inner = RawPTE
type Inner = RawPTE
Inner represents a inner type encapsulated in Entry (e.g., Inner=u64 for struct Entry)
fn new() -> Self
fn is_valid(&self) -> bool
fn clear(&mut self)
fn pte(&self) -> u64
fn mut_pte(&mut self) -> &mut Self::Inner
fn address(&self, level: usize) -> Option<PhysAddr>
fn set(&mut self, addr: PhysAddr, flags: u64, is_raw: bool) -> Result<(), Error>
fn set_with_page_table_flags(&mut self, addr: PhysAddr) -> Result<(), Error>
fn index<L: Level>(addr: usize) -> usize
fn points_to_table_or_page(&self) -> bool
fn lock(&self) -> Result<Option<EntryGuard<'_, Self::Inner>>, Error>
fn set_with_page_table_flags_via_alloc<T>( &mut self, _index: usize, alloc: T ) -> Result<(), Error>where T: FnMut() -> usize,
fn subtable(&self, _index: usize, level: usize) -> Result<usize, Error>
impl Copy for Entry
Auto Trait Implementations§
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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