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 Freeze for AllocateError
impl RefUnwindSafe for AllocateError
impl Send for AllocateError
impl Sync for AllocateError
impl Unpin for AllocateError
impl UnwindSafe for AllocateError
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