pub fn serve_runtime_stack_direct_for_test(
config_record: &ServeConfig,
max_requests: usize,
) -> Result<(), &'static str>Expand description
Starts the shared runtime in a direct test-oriented path.
§Parameters
config_record: Shared-runtime serve configuration under test.max_requests: Maximum number of requests to serve before exiting.
§Returns
Returns the successful value produced by crate::runtime::serve_runtime_stack_direct_for_test or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::serve_runtime_stack_direct_for_test cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::serve_runtime_stack_direct_for_test(todo!(), todo!(), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.