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§
sourcefn feed<'a>(
&mut self,
operator: Operator<'a>,
state: &mut MiddlewareReaderState<'a>,
) -> Result<(), MiddlewareError>
fn feed<'a>( &mut self, operator: Operator<'a>, state: &mut MiddlewareReaderState<'a>, ) -> Result<(), MiddlewareError>
Processes the given operator.