Function wasm::validation::handle_section
source · fn handle_section<T, F: FnOnce(&mut WasmReader<'_>, SectionHeader) -> Result<T>>(
wasm: &mut WasmReader<'_>,
header: &mut Option<SectionHeader>,
section_ty: SectionTy,
handler: F
) -> Result<Option<T>>