pub struct MapperFlush<S: PageSize>();
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 function that
change the mapping of a page to ensure that the TLB flush is not forgotten.
Create a new flush promise
Note that this method is intended for implementing the Mapper
trait and no other uses
are expected.
Flush the page from the TLB to ensure that the newest mapping is used.
Don’t flush the TLB and silence the “must be used” warning.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.