[][src]Trait wasmer::FunctionMiddleware

pub trait FunctionMiddleware: Debug {
    fn feed(
        &mut self,
        operator: Operator<'a>,
        state: &mut MiddlewareReaderState<'a>
    ) -> Result<(), BinaryReaderError> { ... } }

A function middleware specialized for a single function.

Provided methods

fn feed(
    &mut self,
    operator: Operator<'a>,
    state: &mut MiddlewareReaderState<'a>
) -> Result<(), BinaryReaderError>

Processes the given event, module info and sink.

Loading content...

Implementors

Loading content...