MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / tag_params

Method tag_params

crates/debugger/src/host/opaque.rs:432–441  ·  view source on GitHub ↗
(&mut self, tag: Tag)

Source from the content-addressed store, hash-verified

430 }
431
432 async fn tag_params(&mut self, tag: Tag) -> Result<Vec<wit::WasmType>> {
433 self.with_store(move |store| {
434 let ty = tag.ty(&store);
435 ty.ty()
436 .params()
437 .map(|ty| val_type_to_wasm_type(&ty))
438 .collect::<Result<Vec<_>>>()
439 })
440 .await?
441 }
442
443 async fn tag_new(&mut self, engine: Engine, params: Vec<ValType>) -> Result<Tag> {
444 self.with_store(move |mut store| {

Callers 1

paramsMethod · 0.45

Calls 5

val_type_to_wasm_typeFunction · 0.85
with_storeMethod · 0.80
tyMethod · 0.45
mapMethod · 0.45
paramsMethod · 0.45

Tested by

no test coverage detected