pub(crate) async fn fetch_all(
client: &Client,
hostname: &str,
username: &str,
password: &str,
query_log_limit: u32,
) -> Result<(Vec<Query>, StatsResponse, StatusResponse)>Expand description
Fetch the query log, stats and status together, so a failure leaves the UI’s data in sync (all-or-nothing) rather than partially updated.