Module web_thread::web::message
source · Available on
Web
and crate feature message
only.Expand description
Platform-specific extensions for web-thread
on the Web platform
to send Serializable
and Transferable
to other threads.
Structs§
- Contains data necessary to send
MessageSend
to another thread. - Wrapper that implements
MessageSend
for values implementingSend
. - Wrapper that implements
MessageSend
for values implementingSerializable
. - Wrapper that implements
MessageSend
for values implementingTransferable
.
Traits§
- Allows a
Serializable
and/orTransferable
value to be sent to another threads. Seespawn_with_message()
. - Value can be serialized.
- Value can be transferred.