Update core, tcp, secio and mplex to futures-0.3. (#1302)

* Update `rw-stream-sink` to futures-0.3.

* Update core, tcp, secio and mplex to futures-0.3.

On top of https://github.com/libp2p/rust-libp2p/pull/1301
This commit is contained in:
Toralf Wittner
2019-11-14 13:42:14 +01:00
committed by Pierre Krieger
parent cb74580e35
commit f85241dd36
11 changed files with 155 additions and 139 deletions

View File

@ -148,7 +148,7 @@ impl SecioConfig {
/// Output of the secio protocol.
pub struct SecioOutput<S>
where
S: AsyncRead + AsyncWrite,
S: AsyncRead + AsyncWrite + Unpin
{
/// The encrypted stream.
pub stream: RwStreamSink<StreamMapErr<SecioMiddleware<S>, fn(SecioError) -> io::Error>>,