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
MessageSendto another thread. - Wrapper that implements
MessageSendfor values implementingSend. - Wrapper that implements
MessageSendfor values implementingSerializable. - Wrapper that implements
MessageSendfor values implementingTransferable.
Traits§
- Allows a
Serializableand/orTransferablevalue to be sent to another threads. Seespawn_with_message(). - Value can be serialized.
- Value can be transferred.