Struct Ready
pub struct Ready<'a, T, Request>(/* private field */);
A future that yields a mutable reference to the service when it is ready to accept a request.
Ready values are produced by ServiceExt::ready.
Implementations
impl<'a, T, Request> Ready<'a, T, Request>
where
T: Service<Request>,
fn new(service: &'a mut T) -> Self
Trait Implementations
impl<'a, T, Request> Future for Ready<'a, T, Request>
where
T: Service<Request>,
type Output = Result<&'a mut T, <T as Service<Request>>::Error>;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
impl<T, Request> Debug for Ready<'_, T, Request>
where
T: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result