useserde_json::Value;usecrate::core::{dns::service::StatsRead,error::Result};/// Get DNS dashboard statistics through a vendor-neutral stats reader.
////// # Errors
////// Returns any error reported by the selected DNS backend.
pub async fnget_stats<C: StatsRead +?Sized>(client:&C, stats_type:&str)->Result<Value>{
client.get_stats(stats_type).await
}