Skip to main content

serve_website_target

Function serve_website_target 

Source
pub fn serve_website_target(
    verb: &str,
    website: &str,
    root: &Path,
) -> Result<String, &'static str>
Expand description

Performs serve website target.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::serve_website_target or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::serve_website_target cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::serve_website_target(todo!(), todo!(), std::path::Path::new("."));
  • crate::binaries for adjacent helpers that share the same runtime surface.