Trait move_binary_format::layout::GetModule
source · pub trait GetModule {
type Error: Debug;
// Required method
fn get_module_by_id(
&self,
id: &ModuleId
) -> Result<Option<CompiledModule>, Self::Error>;
}
Expand description
A persistent storage that can fetch the bytecode for a given module id TODO: do we want to implement this in a way that allows clients to cache struct layouts?