Expand description
Encoding diagnostic records using the Fuchsia Tracing format.
Structs§
- Encoder
- An
Encoder
wraps any value implementingMutableBuffer
and writes diagnostic stream records into it. - Encoder
Opts - Options for the encoder
- Resizable
Buffer - Wrapper for a vector that allows us to implement necessary traits.
- Test
Record - Arguments to create a record for testing purposes.
- Write
Event Params - Parameters for
Encoder/write_event
. - Write
Slot - A region of the buffer which was advanced past and can later be filled in.
Enums§
- Encoding
Error - An error that occurred while encoding data to the stream format.
Traits§
- Mutable
Buffer - Analogous to
bytes::BufMut
with some additions to be able to write at specific offsets. - Record
Event - Trait implemented by types which can be written by the Encoder.
- Record
Fields - Trait implemented by complete Records.
- Write
Argument Value - Trait implemented by types which can be written to the encoder.