Trait wasmer_asml_fork::NamedResolver[][src]

pub trait NamedResolver {
    fn resolve_by_name(&self, module: &str, field: &str) -> Option<Export>;
}
Expand description

Import resolver connects imports with available exported values.

This is a specific subtrait for Resolver for those users who don’t care about the index, but only about the module and field for the resolution.

Required methods

Resolves an import a WebAssembly module to an export it’s hooked up to.

It receives the module and field names and return the Export in case it’s found.

Implementations on Foreign Types

Always returns None.

Implementors