Skip to main content

load_history

Function load_history 

Source
pub fn load_history() -> Result<Vec<HistoryEntry>, SpeedtestError>
Expand description

Load all test history from the history file.

ยงErrors

Returns SpeedtestError::IoError if reading the history file fails. Returns SpeedtestError::ParseJson if the history file contains invalid JSON.