Trait wasmtime_runtime::ModuleInfoLookup
source · pub trait ModuleInfoLookup {
// Required method
fn lookup(&self, pc: usize) -> Option<&dyn ModuleInfo>;
}
Expand description
Used by the runtime to lookup information about a module given a program counter value.
Required Methods§
sourcefn lookup(&self, pc: usize) -> Option<&dyn ModuleInfo>
fn lookup(&self, pc: usize) -> Option<&dyn ModuleInfo>
Lookup the module information from a program counter value.