Enum enarx_shim_kvm::allocator::AllocateError
source · [−]pub enum AllocateError {
NotAligned,
OutOfMemory,
ZeroSize,
PageAlreadyMapped,
ParentEntryHugePage,
}
Expand description
Error returned by the EnarxAllocator
Variants
NotAligned
Memory or Size not page aligned
OutOfMemory
Out of Memory
ZeroSize
Requested memory size of zero
PageAlreadyMapped
Error mapping the page
ParentEntryHugePage
An upper level page table entry has the HUGE_PAGE
flag set, which means that the
given page is part of an already mapped huge page.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AllocateError
impl Send for AllocateError
impl Sync for AllocateError
impl Unpin for AllocateError
impl UnwindSafe for AllocateError
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