pub fn listener_select_proto<R, I>(
) -> ListenerSelectFuture<R, I::Item>ⓘ where
R: AsyncRead + AsyncWrite,
Future that negotiates a protocol on the given I/O stream
for a peer acting as the listener (or responder).
This function is given an I/O stream and a list of protocols and returns a
computation that performs the protocol negotiation with the remote. The
Future resolves with the name of the negotiated protocol and
Negotiated I/O stream.