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§

source

fn lookup(&self, pc: usize) -> Option<&dyn ModuleInfo>

Lookup the module information from a program counter value.

Implementors§