Skip to main content

router

Function router 

Source
pub fn router(state: ApiState) -> Router
Expand description

Every public operation, beneath the one versioned prefix.

§Panics

Panics when OPERATIONS declares an entry this function has no route for, which is a declaration and a router that have come apart — the one state this server must not come up in quietly.