diagnostics_log_encoding

Module encode

Source
Expand description

Encoding diagnostic records using the Fuchsia Tracing format.

Structs§

  • An Encoder wraps any value implementing MutableBuffer and writes diagnostic stream records into it.
  • Options for the encoder
  • Wrapper for a vector that allows us to implement necessary traits.
  • Arguments to create a record for testing purposes.
  • Parameters for Encoder/write_event.
  • A region of the buffer which was advanced past and can later be filled in.

Enums§

  • An error that occurred while encoding data to the stream format.

Traits§

  • Analogous to bytes::BufMut with some additions to be able to write at specific offsets.
  • Trait implemented by types which can be written by the Encoder.
  • Trait implemented by complete Records.
  • Trait implemented by types which can be written to the encoder.