mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 09:31:20 +00:00
feat(swarm): rename NetworkBehaviourAction
to ToSwarm
Resolves #3123. Pull-Request: #3658.
This commit is contained in:
@ -310,7 +310,7 @@ request without having to guess.
|
||||
|
||||
When accepting a **command** that eventually results in a response through an event require that
|
||||
command to contain a unique ID, which is later on contained in the asynchronous response event. One
|
||||
such example is the `Swarm` accepting a `NetworkBehaviourAction::Dial` from the `NetworkBehaviour`.
|
||||
such example is the `Swarm` accepting a `ToSwarm::Dial` from the `NetworkBehaviour`.
|
||||
|
||||
``` rust
|
||||
struct Command {
|
||||
|
Reference in New Issue
Block a user