pub struct MapperFlush<S: PageSize>(/* private fields */);
Expand description
This type represents a page whose mapping has changed in the page table.
The old mapping might be still cached in the translation lookaside buffer (TLB), so it needs to be flushed from the TLB before it’s accessed. This type is returned from a function that changed the mapping of a page to ensure that the TLB flush is not forgotten.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for MapperFlush<S>
impl<S> RefUnwindSafe for MapperFlush<S>where
S: RefUnwindSafe,
impl<S> Send for MapperFlush<S>where
S: Send,
impl<S> Sync for MapperFlush<S>where
S: Sync,
impl<S> Unpin for MapperFlush<S>where
S: Unpin,
impl<S> UnwindSafe for MapperFlush<S>where
S: UnwindSafe,
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