Glossary: Rust Beyond the Basics
Send
Also written: Sync
Marker traits for thread safety: `Send` means a value can move to another thread, and `Sync` means it can be shared by reference between threads. `Rc` has neither; `Arc` and `Mutex` have both.
Glossary: Rust Beyond the Basics
Also written: Sync
Marker traits for thread safety: `Send` means a value can move to another thread, and `Sync` means it can be shared by reference between threads. `Rc` has neither; `Arc` and `Mutex` have both.