Searched defs:ProtobufType (Results 1 – 5 of 5) sorted by relevance
15 pub(crate) struct ProtobufType { struct22 impl ProtobufType { argument35 pub(crate) fn message(message: MessageDescriptor) -> ProtobufType { in message() method39 pub(crate) fn enumeration(enumeration: EnumDescriptor) -> ProtobufType { in enumeration() method43 pub(crate) fn from_proto_type(t: Type) -> ProtobufType { in from_proto_type()47 pub(crate) fn new(runtime: RuntimeType, t: Type) -> crate::Result<ProtobufType> { in new()
839 K: ProtobufType, in compute_map_size()840 V: ProtobufType, in compute_map_size()862 ) -> ProtobufResult<()> in write_map_with_cached_sizes()865 V: ProtobufType, in write_map_with_cached_sizes()890 ) -> ProtobufResult<()> in read_map_into()893 V: ProtobufType, in read_map_into()
24 pub trait ProtobufType { interface
351 pub(crate) fn map_proto_type(&self) -> (ProtobufType, ProtobufType) { in map_proto_type()
40 pub(crate) fn resolve(&self, file: &FileDescriptor) -> ProtobufType { in resolve()