Skip to main content

Module transport

Module transport 

Expand description

Transport trait — decouples hardware tools from wire protocol.

Enums§

TransportError
Transport layer error.
TransportKind
Transport kind discriminator. Used for capability matching — some tools require a specific transport (e.g. pico_flash requires UF2, memory_read prefers SWD).

Traits§

Transport
Transport trait — sends commands to a hardware device and receives responses. All implementations MUST use explicit tokio::time::timeout on I/O operations. Callers should never assume success; always handle TransportError.