Skip to main content

write_route_map

Function write_route_map 

Source
pub fn write_route_map(root: &Path) -> Result<(), ()>
Expand description

Generates the bounded static route map for one built app artifact.

§Parameters

§Returns

Returns the successful value produced by crate::route_map::write_route_map or an error when the operation fails.

§Errors

Returns an error value when crate::route_map::write_route_map cannot complete successfully.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::route_map::write_route_map.

§Examples

ⓘ
let _result = pharos_runtime_static::route_map::write_route_map(std::path::Path::new("."));