[−][src]Struct ni::executor::Executor
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]
functions: &'f [Function],
stack_limit: usize,
heap_limit: usize
) -> Self
pub fn call(
&mut self,
function_id: UWord,
ret_val_ptr: UWord
) -> Result<(), ExecutionError>
[src]
&mut self,
function_id: UWord,
ret_val_ptr: UWord
) -> Result<(), ExecutionError>
pub fn execute(&mut self) -> Executed
[src]
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,