pub trait AsProtoMapKey {
// Required method
fn as_proto_map_key() -> ProtoMapKey;
}Expand description
A sealed trait that defines the kind of protobuf map key that a rust type maps to.
Required Methods§
fn as_proto_map_key() -> ProtoMapKey
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.