pub trait ProtobufValue:
Clone
+ Default
+ Debug
+ Send
+ Sync
+ Sized
+ 'static {
type RuntimeType: RuntimeTypeTrait<Value = Self>;
}
Expand description
Type implemented by all protobuf singular types (primitives, string, messages, enums).
Used in reflection.
Required Associated Types§
Sourcetype RuntimeType: RuntimeTypeTrait<Value = Self>
type RuntimeType: RuntimeTypeTrait<Value = Self>
Actual implementation of type properties.
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.