pub fn framework_builtin_response(
method: &str,
target: &str,
app: Option<&AppRuntime>,
stack: Option<&RuntimeStack>,
) -> Option<FrameworkBuiltinResponse>Expand description
Builds the response for a framework-owned route.
§Parameters
method: Input consumed bycrate::runtime::framework_builtin_response.target: Input consumed bycrate::runtime::framework_builtin_response.app: Input consumed bycrate::runtime::framework_builtin_response.stack: Input consumed bycrate::runtime::framework_builtin_response.
§Returns
Returns Some when crate::runtime::framework_builtin_response can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::framework_builtin_response.
§Examples
ⓘ
let _result = pharos_native::runtime::framework_builtin_response(todo!(), "/", todo!(), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.