pub async fn dispatch_loop<T>(
transport: T,
_pdu_size: u16,
store: DataStore,
) -> Result<()>Expand description
Run the S7 request dispatch loop over an established transport.
Reads COTP Data PDUs, decodes S7 requests, executes them against
store, and sends S7 AckData responses. Runs until the transport
closes (EOF) or a fatal I/O error occurs.