The `Connector` trait and a layer of connectors

I've created an issue at hyper repo, and decided to also post here to involve more people.

The summary is we need a layer of connectors. A Connector is a piece of logic that establishes a connection in a connection-based protocol. Connectors can usually be composed (i.e. work atop of each other, like HTTP works over TCP), and having a layer of connectors would enable us to write more composable libraries and more flexible programs.

I'd like to avoid copy-pasting the body of the issue everywhere, so please go to to learn more.

Also, #rust2020 is for discussion of changes to the language itself. is for users of rust.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.