Enum enarx_shim_kvm::pagetables::Error
source · [−]#[non_exhaustive]
pub enum Error {
NotMapped,
InvalidFrameAddress(PhysAddr),
NotAligned,
}
Expand description
Error returned by this module
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotMapped
The given virtual address is not mapped to a physical frame.
InvalidFrameAddress(PhysAddr)
The page table entry for the given virtual address points to an invalid physical address.
NotAligned
The given virtual address is not page aligned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more