mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-16 00:00:18 +02:00
More docs and expand key_value_store example
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//! Handler future types.
|
||||
|
||||
use http::Response;
|
||||
use std::convert::Infallible;
|
||||
use crate::body::BoxBody;
|
||||
|
||||
opaque_future! {
|
||||
/// The response future for [`IntoService`](super::IntoService).
|
||||
pub type IntoServiceFuture =
|
||||
futures_util::future::BoxFuture<'static, Result<Response<BoxBody>, Infallible>>;
|
||||
}
|
||||
Reference in New Issue
Block a user