Expand description
Structs§
- WebSocket
- A WebSocket connection
Enums§
- WsMessage
- A WebSocket message
Traits§
- Future
- A future that is
Send
on native, but!Send
on web - Send
Send
, but only on native. The web is allowed to be!Send
.- Stream
- A stream that is
Send
on native, but!Send
on web - Sync
Sync
, but only on native. The web is allowed to be!Sync
.
Functions§
- sleep
- Sleep for
duration
time - sleep_
until - Sleep until
instant
- spawn
- Spawn a future, that can be
!Send
on web