Expand description
Marker traits for enabling Send
and Sync
requirements based on the
target family.
Normally we want to require real core::marker::Send
and
core::marker::Sync
for most of the types, however, the Web API bindings
can not support those, and in the Web setting, the spawning of async tasks
does not currently require those either.
So we turn off the core::marker::Send
and core::marker::Sync
requirements for the Web targets using these Send
and Sync
traits.
Traitsยง
- Send
- Maybe a
core::marker::Send
. - Sync
- Maybe a
core::marker::Sync
.