Rust Sync

Sync is a #202204061235 that allows the type to be referenced in a multithreading environment#. Rust primitive types has this trait implemented by default, and same as 202207172159, if the type is entirely composed of these types, then it will have this trait implicitly. Some types such as raw pointers, #202206221720 and Cell<T> related types (including #202206232210) doesn’t implement this trait.

Links to this page
#rust #multithreading