summaryrefslogtreecommitdiff
path: root/vendor/tower/src/spawn_ready/future.rs
blob: c7d4da57211efe18e9b2018ef2923683e103ce3b (plain)
1
2
3
4
5
6
7
8
//! Background readiness types

opaque_future! {
    /// Response future from [`SpawnReady`] services.
    ///
    /// [`SpawnReady`]: crate::spawn_ready::SpawnReady
    pub type ResponseFuture<F, E> = futures_util::future::MapErr<F, fn(E) -> crate::BoxError>;
}