pub fn save_result(result: &TestResult) -> Result<(), SpeedtestError>Expand description
Save a test result to the history file.
ยงErrors
Returns SpeedtestError::IoError if reading or writing the history file fails.
Returns SpeedtestError::ParseJson if the history file contains invalid JSON.