pub fn read_with(text: &str, mapping: &Mapping) -> Result<FlightLog, LogError>Expand description
Reads a table by the caller’s column mapping, with the checks read makes.
§Errors
LogError::Mapping for a mapping of no column or more than MAX_COLUMNS, whose clock
isn’t one of its columns, isn’t in a unit of time or is left out, whose turn isn’t a count
above 0, whose stamped rows’ clock isn’t column 0 in s with no turn, or a column whose unit
the reader doesn’t know or doesn’t measure what its quantity does; LogError::Syntax for a
row of other than the mapping’s width, a row of lists not between [ and ], a stamp with no
valid date and time (a leap second’s 23:59:60 among them), a clock cell that isn’t a number,
or a reading its unit’s conversion makes infinite, naming the line; LogError::Unit for a
clock that never steps forward or whose median step, in its unit, lies outside 0.1 ms to
60 s; LogError::NoData if no row follows the header.