Skip to main content

read_named

Function read_named 

Source
pub fn read_named(text: &str) -> Result<FlightLog, LogError>
Expand description

Reads the layout with named fields.

§Errors

LogError::NotThisFormat if the text isn’t the layout (recognizes_named); LogError::Unit for a units line whose clock isn’t in us; LogError::Syntax for a line that can’t be read (see the module’s docs); LogError::NoData for a file with no data lines.