Type Definition tower::util::ReadyAnd

source · []
pub type ReadyAnd<'a, T, Request> = Ready<'a, T, Request>;
👎 Deprecated since 0.4.6:

Please use the Ready future instead

Available on crate feature util only.
Expand description

A future that yields a mutable reference to the service when it is ready to accept a request.

ReadyAnd values are produced by ServiceExt::ready_and.