Expand description
Module providing introspection traits for prost-generated protobuf
types.
Traits§
- Input
Node - Trait for all Rust types that represent input tree node types.
- Proto
Enum - Trait for all Rust types that represent protobuf enums. These are always represented as a Rust enum with no contained values for any of the variants.
- Proto
Message - Trait for all Rust types that represent protobuf messages. These are always structs for which all fields implement InputNode.
- Proto
OneOf - Trait for all Rust types that represent protobuf’s oneof abstraction. In the world of protobuf, these aren’t really a thing of their own, but in Rust, they are defined as enums, each variant containing a one-tuple of some type implementing InputNode.
- Proto
Primitive - Trait for Rust types that map to the protobuf primitive types.