May 2019
Intermediate to advanced
698 pages
17h 21m
English
The Sync trait has a similar type signature:
pub unsafe auto trait Sync { }
This trait signifies that types that implement this trait are safe to be shared between threads. If something is Sync then a reference to it in other words, &T is Send. This means that we can pass references to it to many threads.
Read now
Unlock full access