tokio_tower::multiplex

Module server

Source
Expand description

Server bindings for a multiplexed protocol.

Structs§

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

Enums§

  • An error that occurred while servicing a request.