Behaviour for connection transport delegates used by XMAVLink.ConnectionWorker.
Transport modules own external resources such as sockets or UART handles and expose pure-ish frame handling helpers to the router.
Summary
Types
Callbacks
@callback close(connection()) :: term()
@callback forward(connection(), XMAVLink.Frame.t()) :: term()
@callback open(tokens(), pid()) :: {:ok, connection_key() | nil, connection()} | {:error, term()}