rename ApiHandler::Async into ApiHandler::AsyncHttp

This commit is contained in:
Dietmar Maurer
2019-11-23 09:03:21 +01:00
parent 70fbac84da
commit 329d40b50b
6 changed files with 19 additions and 17 deletions

View File

@ -201,9 +201,11 @@ fn handle_simple_command(
}
}
}
ApiHandler::Async(_) => {
//fixme
unimplemented!();
ApiHandler::AsyncHttp(_) => {
let err = format_err!(
"CliHandler does not support ApiHandler::AsyncHttp - internal error");
print_simple_usage_error(prefix, cli_cmd, err);
std::process::exit(-1);
}
}
}