Enum guestmem::PageFaultAction
source · pub enum PageFaultAction {
Fail(Box<dyn Error + Send + Sync>),
Retry,
Fallback,
}
Expand description
The action to take after GuestMemoryAccess::page_fault
returns to
continue the operation.
Variants§
Fail(Box<dyn Error + Send + Sync>)
Fail the operation.
Retry
Retry the operation.
Fallback
Use the fallback method to access the memory.
Auto Trait Implementations§
impl Freeze for PageFaultAction
impl !RefUnwindSafe for PageFaultAction
impl Send for PageFaultAction
impl Sync for PageFaultAction
impl Unpin for PageFaultAction
impl !UnwindSafe for PageFaultAction
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