Type Definition sp_sandbox::HostFuncType [−][src]
type HostFuncType<T> = fn(_: &mut T, _: &[Value]) -> Result<ReturnValue, HostError>;
Expand description
Function pointer for specifying functions by the
supervisor in EnvironmentDefinitionBuilder
.