pub async fn start_ops(
config: &Config,
role: &str,
ops: Ops,
stop: &Receiver<u32>,
) -> Result<SocketAddr, AppError>Expand description
Binds the ops port ([ops] bind : port) and serves ops there until stop, logging
the address as schedr <role>: ops on http://<address>.
§Errors
AppError::BadArgument if the address can’t be bound.