[][src]Struct wain_exec::Machine

pub struct Machine<'module, 'source, I: Importer> { /* fields omitted */ }

Methods

impl<'m, 's, I: Importer> Machine<'m, 's, I>[src]

pub fn instantiate(
    module: &'m Module<'s>,
    importer: I
) -> Result<Self, Box<Trap>>
[src]

pub fn execute(&mut self) -> Result<Run, Box<Trap>>[src]

Auto Trait Implementations

impl<'module, 'source, I> RefUnwindSafe for Machine<'module, 'source, I> where
    I: RefUnwindSafe

impl<'module, 'source, I> Send for Machine<'module, 'source, I> where
    I: Send

impl<'module, 'source, I> Sync for Machine<'module, 'source, I> where
    I: Sync

impl<'module, 'source, I> Unpin for Machine<'module, 'source, I> where
    I: Unpin,
    'source: 'module, 

impl<'module, 'source, I> UnwindSafe for Machine<'module, 'source, I> where
    I: UnwindSafe

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.