1use axum::http::StatusCode; 2use axum::response::IntoResponse; 3 4/// An endpoint function that always responds with `404 Not Found`. 5pub async fn not_found() -> impl IntoResponse { 6 StatusCode::NOT_FOUND 7}