fn route_paths<Req: IncomingRequest>(
router: Router<State>,
handler: &MethodRouter<State>,
) -> Router<State>Expand description
Registers one handler at every path a Ruma request type declares.
It serves a handler that answers with something other than the type’s own
response, which ruma_route cannot register.