Module mesh_protobuf::protofile
source · Expand description
Definitions for describing the format protobuf messages. These can be used
to generate .proto
files that are binary compatible with the associated
Rust types.
Structs§
- A type used to write protobuf descriptors to
.proto
-format files. - A descriptor for a message field.
- The description of a field type.
- A message descriptor.
- A description of a protobuf
oneof
. - A message descriptor for a message rooted directly in a package (and not nested in another message type).
- A type URL, used in
ProtobufAny
(which shares an encoding withgoogle.protobuf.Any
).
Enums§
- A description of a message type.
Traits§
- A trait for a self-describing protobuf message field.
- A trait for a self-describing protobuf message.
Functions§
- Returns the top-level message descriptor for a type with a default encoding.