Module transport
Expand description
Transport trait — decouples hardware tools from wire protocol.
Enums§
- Transport
Error - Transport layer error.
- Transport
Kind - Transport kind discriminator.
Used for capability matching — some tools require a specific transport
(e.g.
pico_flashrequires UF2,memory_readprefers SWD).
Traits§
- Transport
- Transport trait — sends commands to a hardware device and receives responses.
All implementations MUST use explicit
tokio::time::timeouton I/O operations. Callers should never assume success; always handleTransportError.