Multi-Producer Single-Consumer

This is the most popular queue type in Rust. Both the standard library and the futures crate provide this kind of channel. It's popular because channels are often used to provide access to a resource that lives in a single thread for other multiple threads. For this type of queue, the Sender can be cloned, but the Receiver can't.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.177.86