Crate protobuf

Source
Expand description

Library to read and write protocol buffers data.

Re-exports§

Modules§

  • Generated file from google/protobuf/descriptor.proto
  • Protobuf error type
  • Utilities to support “extension” fields.
  • JSON serialization and deserialization.
  • Lazily initialized data. Used in generated code.
  • Generated file from google/protobuf/compiler/plugin.proto
  • Reflection implementation for protobuf types.
  • Functions used by generated protobuf code. Should not be used by programs written by hands.
  • Generated file from rustproto.proto
  • Protobuf “text format” implementation.
  • Implementations of ProtobufType for all types.
  • Generated code for “well known types”
  • Serialization constants.

Structs§

Enums§

Constants§

  • protobuf crate version
  • This symbol can be referenced to assert that proper version of crate is used

Traits§

  • anything that can be cleared
  • Trait implemented for all generated structs for protobuf messages.
  • Trait implemented by all protobuf enum types.

Functions§