Expand description
Wrappers for host and guest functions.
Re-exports§
pub use ret_type::SupportedReturnType;pub use host_functions::HostFunction0;pub use host_functions::HostFunction1;pub use host_functions::HostFunction10;pub use host_functions::HostFunction2;pub use host_functions::HostFunction3;pub use host_functions::HostFunction4;pub use host_functions::HostFunction5;pub use host_functions::HostFunction6;pub use host_functions::HostFunction7;pub use host_functions::HostFunction8;pub use host_functions::HostFunction9;
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.
- host_
functions - Definitions and functionality to enable guest-to-host function calling, also called “host functions”
- ret_
type - Definitions and functionality for supported return types
Structs§
- Hyperlight
Function - Generic HyperlightFunction
Enums§
- Parameter
Value - Re-export for
ParameterValueenum Supported parameter types with values for function calling. - Return
Type - Re-export for
ReturnTypeenum Supported return types from function calling. - Return
Value - Re-export for
ReturnTypeenum Supported return types with values from function calling.
Traits§
- Supported
Parameter Type - This is a marker trait that is used to indicate that a type is a valid Hyperlight parameter type.