File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -324,10 +324,9 @@ fn my_method() -> impl Future<Output = Response> {
324
324
}
325
325
```
326
326
327
- When accepting a ** command** that eventually results in a response through an event, either require
328
- that command to contain a unique ID, which is later on contained in the asynchronous response event,
329
- or allow the user to provide an instance of a custom type which again is later on returned in the
330
- response event.
327
+ When accepting a ** command** () that eventually results in a response through an event require that
328
+ command to contain a unique ID, which is later on contained in the asynchronous response event. One
329
+ such example is the ` Swarm ` accepting a ` NetworkBehaviourAction::Dial ` from the ` NetworkBehaviour ` .
331
330
332
331
``` rust
333
332
struct Command {
You can’t perform that action at this time.
0 commit comments