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

Method options

crates/wasmtime/src/runtime/component/instance.rs:453–459  ·  view source on GitHub ↗
(
        &self,
        store: &'a StoreOpaque,
        options: OptionsIndex,
    )

Source from the content-addressed store, hash-verified

451 }
452
453 pub(crate) fn options<'a>(
454 &self,
455 store: &'a StoreOpaque,
456 options: OptionsIndex,
457 ) -> &'a CanonicalOptions {
458 &self.id.get(store).component().env_component().options[options]
459 }
460
461 fn options_memory_raw(
462 &self,

Callers 1

waitable_set_waitMethod · 0.45

Calls 3

env_componentMethod · 0.80
componentMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected