Expand description
Wrappers for host and guest functions.
Structs§
- Host
Function - Re-export for
HostFunction
trait A representation of a host function. This is a thin wrapper around aFn(Args) -> Result<Output>
.
Enums§
- Parameter
Value - Re-export for
ParameterValue
enum Supported parameter types with values for function calling. - Return
Type - Re-export for
ReturnType
enum Supported return types from function calling. - Return
Value - Re-export for
ReturnType
enum Supported return types with values from function calling.
Traits§
- Parameter
Tuple - A trait to describe the tuple of parameters that a host function can take.
- Registerable
- Re-export for
HostFunction
trait A sandbox on which (primitive) host functions can be registered - Result
Type - A trait to handle either a
SupportedReturnType
or aResult<impl SupportedReturnType>
- Supported
Parameter Type - This is a marker trait that is used to indicate that a type is a valid Hyperlight parameter type.
- Supported
Return Type - This is a marker trait that is used to indicate that a type is a valid Hyperlight return type.