Skip to main content

read

Function read 

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

Reads the block block of a capture by the layout the caller states, as records::read reads a file of records, as LogFormat::ConsoleCapture.

§Errors

As blocks; LogError::Layout for a block the capture doesn’t hold; otherwise as records::read.