Function hyper_static_server::export_routes_one
source · [−]pub fn export_routes_one<Consumer>(
_routes: impl Into<Routes>,
_route_path: &str,
_consumer: Consumer
) -> ServerResult where
Consumer: FnMut(&Route, ContentType, Vec<u8>) -> ServerResult,