Expand description
Wrappers for host and guest functions.
Modules§
- call_
ctx - Context structures used to allow the user to call one or more guest functions on the same Hyperlight sandbox instance, all from within the same state and mutual exclusion context.
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.
- Result
Type - A trait to handle either a SupportedReturnType or a Result
- 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.