mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 20:01:08 +00:00
Update to libp2p 0.10 (#2945)
* Update to libp2p 0.10 * Bump zeroize in substrate-network
This commit is contained in:
@@ -213,7 +213,7 @@ impl<TInner: NetworkBehaviour> NetworkBehaviour for UserBehaviourWrap<TInner> {
|
||||
}
|
||||
fn poll(
|
||||
&mut self,
|
||||
params: &mut PollParameters
|
||||
params: &mut impl PollParameters
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
|
||||
|
||||
@@ -932,7 +932,7 @@ where
|
||||
|
||||
fn poll(
|
||||
&mut self,
|
||||
_params: &mut PollParameters,
|
||||
_params: &mut impl PollParameters,
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
CustomProtoHandlerIn<TMessage>,
|
||||
|
||||
@@ -157,7 +157,7 @@ impl<T: CustomMessage + Send + 'static> NetworkBehaviour for CustomProtoWithAddr
|
||||
|
||||
fn poll(
|
||||
&mut self,
|
||||
params: &mut PollParameters
|
||||
params: &mut impl PollParameters
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
|
||||
|
||||
@@ -253,7 +253,7 @@ where TSubstream: AsyncRead + AsyncWrite {
|
||||
|
||||
fn poll(
|
||||
&mut self,
|
||||
params: &mut PollParameters
|
||||
params: &mut impl PollParameters
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
|
||||
|
||||
@@ -150,7 +150,7 @@ where
|
||||
|
||||
fn poll(
|
||||
&mut self,
|
||||
params: &mut PollParameters,
|
||||
params: &mut impl PollParameters,
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
<Self::ProtocolsHandler as ProtocolsHandler>::InEvent,
|
||||
|
||||
@@ -335,7 +335,7 @@ ProtocolBehaviour<B, S, H> {
|
||||
|
||||
fn poll(
|
||||
&mut self,
|
||||
params: &mut PollParameters,
|
||||
params: &mut impl PollParameters,
|
||||
) -> Async<
|
||||
NetworkBehaviourAction<
|
||||
<<Self::ProtocolsHandler as IntoProtocolsHandler>::Handler as ProtocolsHandler>::InEvent,
|
||||
|
||||
Reference in New Issue
Block a user