Opt in built in trait. These are traits that implemented for everything by default. They are generally marker traits for some kind of functionality. The standard library has Sync (shared memory thread-safe) and Send (thread safe to send over a channel). Some more detail can be found in the RFC[1] that implemented them.
3 comments
[ 0.22 ms ] story [ 14.3 ms ] threadAnd why is a new sigil required, instead of:
Opt in built in trait. These are traits that implemented for everything by default. They are generally marker traits for some kind of functionality. The standard library has Sync (shared memory thread-safe) and Send (thread safe to send over a channel). Some more detail can be found in the RFC[1] that implemented them.
[1] https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-...