pub struct Entry(/* private fields */);
Trait Implementations§
source§impl Entry for Entry
impl Entry for Entry
§type Inner = S2TTE
type Inner = S2TTE
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) -> Result<(), Error>
fn point_to_subtable( &mut self, _index: usize, 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 as_subtable(&self, _index: usize, level: usize) -> Result<usize, Error>
impl Copy for Entry
Auto Trait Implementations§
impl Freeze for Entry
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