pub enum RunResult<'a, 'm> {
Done(Vec<Val>),
Host(Call<'a, 'm>),
}
Expand description
Runtime result.
Variants§
Done(Vec<Val>)
Execution terminated successfully with those values.
Host(Call<'a, 'm>)
Execution is calling into the host.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'm> Freeze for RunResult<'a, 'm>
impl<'a, 'm> RefUnwindSafe for RunResult<'a, 'm>
impl<'a, 'm> !Send for RunResult<'a, 'm>
impl<'a, 'm> !Sync for RunResult<'a, 'm>
impl<'a, 'm> Unpin for RunResult<'a, 'm>
impl<'a, 'm> !UnwindSafe for RunResult<'a, 'm>
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