Expand description
Client bindings for a multiplexed protocol.
Structs§
- 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 implementsSink<SinkItem = Request>
andStream<Item = Response>
with the necessary bookkeeping to adhere to Tower’s convenientfn(Request) -> Future<Response>
API. - A factory that makes new
Client
instances by creating new transports and wrapping them in freshClient
s.
Enums§
- A failure to spawn a new
Client
.
Traits§
- A transport capable of transporting tagged requests and responses must implement this interface in order to be used with a
Client
.