Skip to main content

read

Function read 

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

Reads the tab-separated layout.

§Errors

LogError::NotThisFormat if the text isn’t the layout (recognizes_tabs); LogError::Syntax for a line that can’t be read (see the module’s docs); LogError::NoData for a file with no lines.