pub trait OneofFull: Oneof {
// Required method
fn descriptor() -> OneofDescriptor;
}
Expand description
Implemented by all oneof types when lite runtime is not enabled.
Required Methods§
Sourcefn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
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.