Module parse

Source
Expand description

Parse diagnostic records from streams, returning FIDL-generated structs that match expected diagnostic service APIs.

Enums§

ParseError
Errors which occur when interacting with streams of diagnostic records.

Functions§

basic_info
Extracts the basic information of a log message: timestamp and severity.
parse_argument
Parses an argument
parse_record
Attempt to parse a diagnostic record from the head of this buffer, returning the record and any unused portion of the buffer if successful.