[][src]Module tokio_tower::pipeline::client

Client bindings for a pipelined protocol.

Structs

Client

This type provides an implementation of a Tower Service on top of a request-at-a-time protocol transport. In particular, it wraps a transport that implements Sink<SinkItem = Request> and Stream<Item = Response> with the necessary bookkeeping to adhere to Tower's convenient fn(Request) -> Future<Response> API.

Maker

A factory that makes new Client instances by creating new transports and wrapping them in fresh Clients.

Enums

SpawnError

A failure to spawn a new Client.