Function handle_section

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