pub async fn dnode_client_loop(
conn: Conn,
handler: ClientHandler,
rx: Receiver<OutboundEnvelope>,
) -> Result<(), NetError>Expand description
Drive a DNODE_PEER_CLIENT FSM until the peer closes.
rx receives responses produced by the cluster dispatcher; the
driver writes the response bytes back through the same
transport.
ยงErrors
Surfaces transport- and DNODE-level errors.