Skip to main content

set

Function set 

Source
pub fn set(
    broker: Option<&Broker>,
    connection: &str,
    status: &str,
    error: Option<&str>,
) -> ConnStatus
Expand 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.