mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-15 02:51:25 +00:00
Fix examples and update core-derive. (#1317)
This commit is contained in:
@ -185,7 +185,7 @@ impl<TSubstream> PingHandler<TSubstream> {
|
||||
|
||||
impl<TSubstream> ProtocolsHandler for PingHandler<TSubstream>
|
||||
where
|
||||
TSubstream: AsyncRead + AsyncWrite + Unpin + 'static,
|
||||
TSubstream: AsyncRead + AsyncWrite + Send + Unpin + 'static,
|
||||
{
|
||||
type InEvent = Void;
|
||||
type OutEvent = PingResult;
|
||||
|
Reference in New Issue
Block a user