pub fn read(text: &str) -> Result<FlightLog, LogError>Expand description
Reads a .pf2 flight log from its text.
§Errors
LogError::NotThisFormat if the first line doesn’t name PerfectFlite;
LogError::Syntax for a row that isn’t numbers, a time that doesn’t increase, or a Data:
line without a time or an altitude column; LogError::Unit for a stated height that isn’t
in feet; LogError::NoData if there are no rows.