Trait fibers_http_client::connection::AcquireConnection[][src]

pub trait AcquireConnection {
    type Connection: AsMut<Connection>;
    type Future: Future<Item = Self::Connection, Error = Error>;
    fn acquire_connection(&mut self, addr: SocketAddr) -> Self::Future;
}

This trait allows for acquiring TCP connections.

Associated Types

TCP connection.

Future for acquiring a connection to communicate with the specified TCP server.

Required Methods

Returns a Future for acquiring a connection to communicate with the specified TCP server.

Implementors