Module serial

Source
Expand description

Serialization for messages send over USB (“serial port”).

These messages are used for interacting with a running device: getting runtime stats, executing cheats and admin commands, etc.

Unlike in multiplayer (which is peer-to-peer), this is asymmetric communication. Clients (desktop app, CLI, etc) send Requests and the runtime (device or emulator) sends back Responses.

Structs§

CPU
Fuel
The fuel consumed (wasm instructions executed) by a callback on the observed interval.
Memory

Enums§

Callback
Request
Messages that clients send into the runtime.
Response
Messages that the runtime sends to connected clients.