pub type PageHandler = Arc<dyn Fn(&HttpRequest) -> Option<HttpResponse> + Send + Sync>;Expand description
Optional page handler consulted for GET requests before git HTTP; it
answers Some(response) for the paths it owns and None for the rest
(used by instaweb for its repository browser pages).
Aliased Typeยง
pub struct PageHandler { /* private fields */ }