Skip to main content

run_connections

Function run_connections 

Source
pub async fn run_connections<T: Transport>(
    command: &ConnectionsCommand,
    client: &Client<T>,
    output: &Output,
    out: &mut impl Write,
) -> Result<(), AppError>
Expand description

Runs schedr connections ...: the command sent, then its result read back until every worker answered; a table of each connection, or the result as JSON.

§Errors

AppError::Client as for run_dags; AppError::Failed when a connection isn’t fine, or a worker didn’t answer.