Function not_found

Source
pub async fn not_found(_: Request) -> Result<Response<Body>, Error>
Expand description

a simple 404 response when no routes are matched. provided as a convenience you can see how to implement your own in the docs