Skip to content
Rust Search
← Browse conferences

How to make your own stream operators

EuroRust
27:39 1175 views

The concept of a Stream in Rust is quite powerful, but it can also be scary, especially when you have to make your own from scratch. In this tutorial you can learn:• In which situation you could use a Stream (vs. iterators, coroutines, …).• How to consume or redirect a Stream with futures (e.g. map, then, for_each, …).• What are stream operators and how to use them (e.g. flatten, flatten_unordered, merge, …).• How to build your own stream operators using Pin and Poll (e.g. clone-stream). At th

Player unavailable or embedding blocked? Use the YouTube link above.