mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 01:01:34 +00:00
feat(swarm): rename Custom
variant to NotifyBehaviour
Rename `ConnectionHandlerEvent::Custom` to `ConnectionHandlerEvent::NotifyBehaviour`. Related #3848. Pull-Request: #3955.
This commit is contained in:
@ -263,7 +263,7 @@ where
|
||||
requested_substreams.push(SubstreamRequested::new(user_data, timeout, upgrade));
|
||||
continue; // Poll handler until exhausted.
|
||||
}
|
||||
Poll::Ready(ConnectionHandlerEvent::Custom(event)) => {
|
||||
Poll::Ready(ConnectionHandlerEvent::NotifyBehaviour(event)) => {
|
||||
return Poll::Ready(Ok(Event::Handler(event)));
|
||||
}
|
||||
Poll::Ready(ConnectionHandlerEvent::Close(err)) => {
|
||||
|
Reference in New Issue
Block a user