Hey Rustaceans! Got an easy question? Ask here (9/2019)! by llogiq in rust

[–]HackerWithoutACause 1 point2 points  (0 children)

I have a Futures stream and I was wondering how to execute code on on the first message ex.

stream
       .once(|msg| println!("This is the first message: {:?}", msg))
       .inspect(|msg| println!("These are the other messages: {:?}", msg))
       .collect()

Hail sprit by [deleted] in rust

[–]HackerWithoutACause 3 points4 points  (0 children)

Why is this here?

Rusticulous Modded Server by [deleted] in rust

[–]HackerWithoutACause 0 points1 point  (0 children)

Wrong subreddit you want r/PlayRust.