[][src]Struct wasmer_runtime::StreamingCompiler

pub struct StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Fn() -> MiddlewareChain,
    E: Debug,
    FCG: FunctionCodeGenerator<E>,
    MCG: ModuleCodeGenerator<FCG, RM, E>,
    RM: 'static + RunnableModule, 
{ /* fields omitted */ }

A streaming compiler which is designed to generated code for a module based on a stream of wasm parser events.

Methods

impl<MCG, FCG, RM, E, CGEN> StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Fn() -> MiddlewareChain,
    E: Debug,
    FCG: FunctionCodeGenerator<E>,
    MCG: ModuleCodeGenerator<FCG, RM, E>,
    RM: 'static + RunnableModule, 
[src]

pub fn new(chain_gen: CGEN) -> StreamingCompiler<MCG, FCG, RM, E, CGEN>[src]

Create a new StreamingCompiler with the given MiddlewareChain.

Trait Implementations

impl<MCG, FCG, RM, E, CGEN> Compiler for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Fn() -> MiddlewareChain,
    E: Debug,
    FCG: FunctionCodeGenerator<E>,
    MCG: ModuleCodeGenerator<FCG, RM, E>,
    RM: 'static + RunnableModule, 
[src]

Auto Trait Implementations

impl<MCG, FCG, RM, E, CGEN> RefUnwindSafe for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: RefUnwindSafe,
    E: RefUnwindSafe,
    FCG: RefUnwindSafe,
    MCG: RefUnwindSafe,
    RM: RefUnwindSafe

impl<MCG, FCG, RM, E, CGEN> Send for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Send,
    E: Send,
    FCG: Send,
    MCG: Send

impl<MCG, FCG, RM, E, CGEN> Sync for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Sync,
    E: Sync,
    FCG: Sync,
    MCG: Sync

impl<MCG, FCG, RM, E, CGEN> Unpin for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: Unpin,
    E: Unpin,
    FCG: Unpin,
    MCG: Unpin,
    RM: Unpin

impl<MCG, FCG, RM, E, CGEN> UnwindSafe for StreamingCompiler<MCG, FCG, RM, E, CGEN> where
    CGEN: UnwindSafe,
    E: UnwindSafe,
    FCG: UnwindSafe,
    MCG: UnwindSafe,
    RM: 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> Same<T> for T

type Output = T

Should always be Self

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.