Skip to content

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.

Where the book teaches it

Related terms

thread