Skip to main content

read

Function read 

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

Reads a MARSA download from its text.

§Errors

LogError::NotThisFormat if the text isn’t one (recognizes); LogError::Syntax for a setting past the bounds or named twice in its section, a setting among the samples, a line that isn’t three numbers, a time no later than the one before, or a value too large for its conversion to SI; LogError::NoData for a file with no samples.