pub enum RunResult {
Ok(Instance),
Exit,
Err(ExecError),
}Expand description
The result of running a program to completion.
Variants§
Ok(Instance)
Execution finished normally. The idle instance is returned for reuse.
Exit
A syscall handler signalled exit.
Err(ExecError)
Execution returned an error.
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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