pub fn set(
broker: Option<&Broker>,
connection: &str,
status: &str,
error: Option<&str>,
) -> ConnStatusExpand description
Record a connection’s new state and tell the frontend. error is shown in
the pane’s overlay; it is cleared on any non-error state.