HackerTrans
トップ新着トレンドコメント過去質問紹介求人

vincenv

no profile record

投稿

The Genius in Our Interstellar Class

avi-loeb.medium.com
1 ポイント·投稿者 vincenv·4 年前·0 コメント

コメント

vincenv
·4 年前·議論
You can get that with anyhow [1] by calling unwrap after `.with_context`.

[1]: https://docs.rs/anyhow/latest/anyhow/
vincenv
·4 年前·議論
You could use async_channel [1] it provides async multi-producer multi-consumer.

[1]: https://docs.rs/async-channel/latest/async_channel/
vincenv
·4 年前·議論
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...