mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-26 00:01:33 +00:00
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:
committed by
Pierre Krieger
parent
cb74580e35
commit
f85241dd36
@ -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>>,
|
||||
|
Reference in New Issue
Block a user