[][src]Struct ni::executor::Executor

pub struct Executor<'f> { /* fields omitted */ }

Implementations

impl<'f> Executor<'f>[src]

pub fn new(functions: &'f [Function]) -> Self[src]

pub fn from_limits(
    functions: &'f [Function],
    stack_limit: usize,
    heap_limit: usize
) -> Self
[src]

pub fn call(
    &mut self,
    function_id: UWord,
    ret_val_ptr: UWord
) -> Result<(), ExecutionError>
[src]

pub fn execute(&mut self) -> Executed[src]

Trait Implementations

impl<'f> Debug for Executor<'f>[src]

Auto Trait Implementations

impl<'f> !RefUnwindSafe for Executor<'f>

impl<'f> !Send for Executor<'f>

impl<'f> !Sync for Executor<'f>

impl<'f> Unpin for Executor<'f>

impl<'f> !UnwindSafe for Executor<'f>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.