1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
//! 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>>;
}