Skip to main content

router

Function router 

Source
pub fn router<S>(spec: Value, title: &str) -> Router<S>
where S: Clone + Send + Sync + 'static,
Expand description

A router serving spec at SPEC_PATH and the page at UI_PATH.