pub fn handle_serve(
config: &ServeConfig,
repo_root: Option<&Path>,
binary_dir: Option<&Path>,
) -> Result<(), &'static str>Expand description
Dispatches the direct serve boundary for app or shared runtime targets.
§Parameters
config: Input consumed bycrate::binaries::handle_serve.repo_root: Input consumed bycrate::binaries::handle_serve.binary_dir: Input consumed bycrate::binaries::handle_serve.) -> Result<(: Input consumed bycrate::binaries::handle_serve.
§Returns
Returns the successful value produced by crate::binaries::handle_serve or an error when the operation fails.
§Errors
Returns an error value when crate::binaries::handle_serve cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::binaries::handle_serve(todo!(), std::path::Path::new("."), std::path::Path::new("bin"), todo!());§Related
crate::binariesfor adjacent helpers that share the same runtime surface.