Trait SectionNameResolver
pub trait SectionNameResolver {
// Required method
fn section_name(&self, index: u32) -> Option<&str>;
}Expand description
Resolve section-name indexes stored in bytecode files.
Bytecode child section entries store section names indirectly, so parsing a bytecode file needs a context object that can resolve those indexes.
Required Methods§
fn section_name(&self, index: u32) -> Option<&str>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".