pub struct ClientComparison;Expand description
客户端配置比较工具
Implementations§
Source§impl ClientComparison
impl ClientComparison
Sourcepub async fn compare_configurations(
configs: Vec<(&str, OptimizedHttpConfig)>,
benchmark_config: BenchmarkConfig,
) -> Result<Vec<(String, PerformanceMetrics)>, Box<dyn Error + Send + Sync>>
pub async fn compare_configurations( configs: Vec<(&str, OptimizedHttpConfig)>, benchmark_config: BenchmarkConfig, ) -> Result<Vec<(String, PerformanceMetrics)>, Box<dyn Error + Send + Sync>>
比较不同HTTP客户端配置的性能
Auto Trait Implementations§
impl Freeze for ClientComparison
impl RefUnwindSafe for ClientComparison
impl Send for ClientComparison
impl Sync for ClientComparison
impl Unpin for ClientComparison
impl UnwindSafe for ClientComparison
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more