pub enum Action<A: IVm> {
Read,
Call(Array<A>),
}Expand description
What the harness does with the selected export.
Variants§
Read
Its value, as it stands.
Call(Array<A>)
Its result, called with these arguments: nanvm-lib values, built
with the constructors the generated code uses. A JSON or text form
would need a JSON reader, which nanvm-lib does not have.
Auto Trait Implementations§
impl<A> Freeze for Action<A>
impl<A> RefUnwindSafe for Action<A>
impl<A> Send for Action<A>
impl<A> Sync for Action<A>
impl<A> Unpin for Action<A>
impl<A> UnsafeUnpin for Action<A>
impl<A> UnwindSafe for Action<A>
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