wasmedge-hs-0.17.1.0: Haskell bindings for the WasmEdge WebAssembly runtime
Copyright(c) 2026 Tushar Adhatrao
LicenseMIT
Stabilityinternal
Safe HaskellNone
LanguageGHC2021

WasmEdge.Internal.Types

Description

This module defines the phantom type tags used to distinguish different WasmEdge context types at the Haskell type level, as well as the OwnedCtx and BorrowedCtx wrappers that encode ownership semantics.

Do not import this module in user code. Use the public API modules instead.

Synopsis

Phantom context tags

data ConfigureTag #

Phantom tag for WasmEdge_ConfigureContext

data StatisticsTag #

Phantom tag for WasmEdge_StatisticsContext

data ASTModuleTag #

Phantom tag for WasmEdge_ASTModuleContext

data FunctionTypeTag #

Phantom tag for WasmEdge_FunctionTypeContext

data TableTypeTag #

Phantom tag for WasmEdge_TableTypeContext

data MemoryTypeTag #

Phantom tag for WasmEdge_MemoryTypeContext

data TagTypeTag #

Phantom tag for WasmEdge_TagTypeContext (0.18+)

data GlobalTypeTag #

Phantom tag for WasmEdge_GlobalTypeContext

data ImportTypeTag #

Phantom tag for WasmEdge_ImportTypeContext

data ExportTypeTag #

Phantom tag for WasmEdge_ExportTypeContext

data CompilerTag #

Phantom tag for WasmEdge_CompilerContext

data LoaderTag #

Phantom tag for WasmEdge_LoaderContext

data ValidatorTag #

Phantom tag for WasmEdge_ValidatorContext

data ExecutorTag #

Phantom tag for WasmEdge_ExecutorContext

data StoreTag #

Phantom tag for WasmEdge_StoreContext

data ModuleInstanceTag #

Phantom tag for WasmEdge_ModuleInstanceContext

data FunctionInstanceTag #

Phantom tag for WasmEdge_FunctionInstanceContext

data TableInstanceTag #

Phantom tag for WasmEdge_TableInstanceContext

data MemoryInstanceTag #

Phantom tag for WasmEdge_MemoryInstanceContext

data TagInstanceTag #

Phantom tag for WasmEdge_TagInstanceContext (0.18+)

data GlobalInstanceTag #

Phantom tag for WasmEdge_GlobalInstanceContext

data CallingFrameTag #

Phantom tag for WasmEdge_CallingFrameContext

data AsyncTag #

Phantom tag for WasmEdge_Async

data VMTag #

Phantom tag for WasmEdge_VMContext

data PluginTag #

Phantom tag for WasmEdge_PluginContext

C struct phantom types

data CWasmString #

Phantom type for WasmEdge_String C struct

data CWasmBytes #

Phantom type for WasmEdge_Bytes C struct

data CWasmResult #

Phantom type for WasmEdge_Result C struct

data CWasmValType #

Phantom type for WasmEdge_ValType C struct

data CWasmValue #

Phantom type for WasmEdge_Value C struct