Hello, Mastodon. Once again I am here to ask very basic questions along the line...

@mcc@mastodon.social

Hello, Mastodon. Once again I am here to ask very basic questions along the lines of "why is my hello-world-level Rust networking code not working"?

codeberg.org/mcc/rs-bug/src/co

Here is a simple loop in a Rocket server. It waits for input on a rocket_rs websocket, then when it gets it, feed().awaits the input to all other websockets in a list.

It does nothing.

If I change feed() to send(), the code works.

This seems wrong to me.

Context:

docs.rs/futures/latest/futures

docs.rs/futures/latest/futures

(1/2)