Skip to main content

run

Function run 

Source
pub async fn run(
    client: &Client,
    server: &Server,
    single: bool,
    progress: Arc<Tracker>,
) -> Result<(f64, f64, u64, Vec<f64>), Error>
Expand description

Run upload bandwidth test against the given server.

Returns (avg_speed_bps, peak_speed_bps, total_bytes_uploaded, speed_samples).

ยงErrors

Returns Error::NetworkError if all upload streams fail.