[−][src]Trait hyper::client::Connect
A connector creates an Io to a remote address..
This trait is not implemented directly, and only exists to make
the intent clearer. A connector should implement Service
with
Request=Uri
and Response: Io
instead.
Associated Types
type Output: AsyncRead + AsyncWrite + 'static
The connected Io Stream.
type Future: Future<Item = Self::Output, Error = Error> + 'static
A Future that will resolve to the connected Stream.
Required methods
Loading content...Implementors
impl<T> Connect for T where
T: Service<Request = Uri, Error = Error> + 'static,
T::Response: AsyncRead + AsyncWrite,
T::Future: Future<Error = Error>,
[src]
T: Service<Request = Uri, Error = Error> + 'static,
T::Response: AsyncRead + AsyncWrite,
T::Future: Future<Error = Error>,