HackerTrans
TopNewTrendsCommentsPastAskShowJobs

vincenv

no profile record

Submissions

The Genius in Our Interstellar Class

avi-loeb.medium.com
1 points·by vincenv·vor 4 Jahren·0 comments

comments

vincenv
·vor 4 Jahren·discuss
You can get that with anyhow [1] by calling unwrap after `.with_context`.

[1]: https://docs.rs/anyhow/latest/anyhow/
vincenv
·vor 4 Jahren·discuss
You could use async_channel [1] it provides async multi-producer multi-consumer.

[1]: https://docs.rs/async-channel/latest/async_channel/
vincenv
·vor 4 Jahren·discuss
Another book I found very helpful is Programming Rust [1], it expands on many concepts in the Rust book, the chapters on closures, iterators, collections, concurrency and async have very good explanations on how things work.

[1]: https://www.oreilly.com/library/view/programming-rust-2nd/97...