Skip to main content

Module transport

Module transport 

Source

Structs§

Connection
Logical connection bound to a remote UDP address. Receiving is done by reading from an mpsc channel populated by the Transport reader task.
ConnectionClosed
Returned by Connection::receive when the underlying mpsc channel has been closed (e.g. because the same remote address was re-registered via Transport::create_connection). Callers can detect this via anyhow::Error::downcast_ref::<ConnectionClosed>() and bail immediately instead of spinning on retransmit.
Transport
Shared transport holding:

Traits§

ConnectionTrait
Transport-agnostic connection: send and receive raw Matter messages.