Crate postform_decoder[][src]

Structs

Decoder

Decodes Postform logs from the ElfMetadata and a buffer.

ElfMetadata

The ElfMetadata struct encapsulates all log metadata contained in the target ELF file. The log metadata contains the target configuration, along with the interned strings and log section markers.

Log

Representation of a parsed Postform log.

SerialDecoder

Decoder for logs sent through a SerialLogger in libpostform. Implements rcobs decoding and detection of start/end of message.

Enums

Error

Error type for Postform Decoder.

LogLevel

Available log levels of Postform.

Constants

POSTFORM_VERSION

Supported postform version

Functions

print_log

Reads a log from buffer and prints it to stdout