pub type NotFoundHandler = Arc<dyn Fn(&Parts) -> Response<Bytes> + Send + Sync>;Available on crate feature
nextstatic only.Expand description
自定义 404 处理器; 设置后未命中请求 (资源与页面) 全部交给它
Aliased Type§
pub struct NotFoundHandler { /* private fields */ }