Expand description
Host Bridge
Provides bidirectional communication between the host (Grove) and WASM modules. Handles function calls, data transfer, and marshalling between the two environments.
Structs§
- Async
Callback - Callback for async function responses
- Function
Signature - Function signature information
- Host
Bridge Impl - Host Bridge for WASM communication
- Host
Function - Host function definition
- Host
Message - Message sent from WASM to host
- Host
Response - Response sent from host to WASM
- WASM
Message - Message from host to WASM
Enums§
- Bridge
Error - Host bridge error types
- Param
Type - Parameter types for WASM functions
- Return
Type - Return types for WASM functions
Functions§
- deserialize_
from_ bytes - Utility function to deserialize Bytes to data
- marshal_
args - Marshal arguments for WASM function call
- serialize_
to_ bytes - Utility function to serialize data to Bytes
- unmarshal_
return - Unmarshal return values from WASM function call
Type Aliases§
- Async
Host Function Callback - Async host function callback type
- Bridge
Result - Type-safe result for operations
- Host
Function Callback - Host function callback type