pub type URLRewriter = Arc<dyn Fn(Option<&ShortPath>, &str) -> String + Send + Sync>;
struct URLRewriter { /* private fields */ }