Glossary: Rust Beyond the Basics
channel
Also written: channels, mpsc::channel
A one-way pipe between threads: one end sends values and the other receives them. `mpsc::channel()` returns a sender `tx` and a receiver `rx`.
Glossary: Rust Beyond the Basics
Also written: channels, mpsc::channel
A one-way pipe between threads: one end sends values and the other receives them. `mpsc::channel()` returns a sender `tx` and a receiver `rx`.