Function parse_one_block
Source pub fn parse_one_block(
lines: &[String],
ix: &mut usize,
) -> Result<Trace, TramexError>
Expand description
Function that parses one log
§Arguments
lines - The lines to parse
ix - The index of the current line
§Returns
Result<Trace, TramexError> - The parsed trace or an error
§Note
Should receive only one block instead of the full remaining text ?
§Errors
Fails on parsing failure