Enum aarch64_paging::MapError
source · pub enum MapError {
AddressRange(VirtualAddress),
InvalidVirtualAddress(VirtualAddress),
RegionBackwards(MemoryRegion),
PteUpdateFault(Descriptor),
InvalidFlags(Attributes),
BreakBeforeMakeViolation(MemoryRegion),
}
Expand description
An error attempting to map some range in the page table.
Variants§
AddressRange(VirtualAddress)
The address requested to be mapped was out of the range supported by the page table configuration.
InvalidVirtualAddress(VirtualAddress)
The address requested to be mapped was not valid for the mapping in use.
RegionBackwards(MemoryRegion)
The end of the memory region is before the start.
PteUpdateFault(Descriptor)
There was an error while updating a page table entry.
InvalidFlags(Attributes)
The requested flags are not supported for this mapping
BreakBeforeMakeViolation(MemoryRegion)
Updating the range violates break-before-make rules and the mapping is live
Trait Implementations§
source§impl PartialEq for MapError
impl PartialEq for MapError
impl Eq for MapError
impl StructuralEq for MapError
impl StructuralPartialEq for MapError
Auto Trait Implementations§
impl RefUnwindSafe for MapError
impl Send for MapError
impl Sync for MapError
impl Unpin for MapError
impl UnwindSafe for MapError
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