Struct ResponseFuture
pub struct ResponseFuture<F, E> { /* private fields */ }
Future that resolves to the response or failure to connect.
Trait Implementations
impl<'__pin, F, E> Unpin for ResponseFuture<F, E>
where
PinnedFieldsOf<__Origin<'__pin, F, E>>: Unpin,
impl<F, T, E, ME> Future for ResponseFuture<F, ME>
where
F: Future<Output = Result<T, E>>,
E: Into<BoxError>,
ME: Into<BoxError>,
type Output = Result<T, Box<dyn Error + Sync + Send>>;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
impl<F: Debug, E: Debug> Debug for ResponseFuture<F, E>
fn fmt(&self, f: &mut Formatter<'_>) -> Result