Trait wasmer_compiler::FunctionMiddleware

source ·
pub trait FunctionMiddleware: Debug {
    // Provided method
    fn feed<'a>(
        &mut self,
        operator: Operator<'a>,
        state: &mut MiddlewareReaderState<'a>,
    ) -> Result<(), MiddlewareError> { ... }
}
Expand description

A function middleware specialized for a single function.

Provided Methods§

source

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

Processes the given operator.

Implementors§