pub trait DescribeOneof {
const DESCRIPTION: MessageDescription<'static>;
}
Expand description
A oneof-encoded type that has a protobuf message description.
Required Associated Constants§
Sourceconst DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The protobuf message description for this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.