mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-15 00:00:20 +02:00
12 lines
314 B
Rust
12 lines
314 B
Rust
//! Handler future types.
|
|
|
|
use crate::body::BoxBody;
|
|
use http::Response;
|
|
use std::convert::Infallible;
|
|
|
|
opaque_future! {
|
|
/// The response future for [`IntoService`](super::IntoService).
|
|
pub type IntoServiceFuture =
|
|
futures_util::future::BoxFuture<'static, Result<Response<BoxBody>, Infallible>>;
|
|
}
|