Expand description
Generated protobuf code and companion impls.
Macros
Structs
Enums
An error thrown when trying to convert from a *.proto
-generated type
Proto$T
to $T
.
Traits
Convenience syntax for trying to convert a Self
value of type
Option<U>
to T
if the value is Some(value)
, or returning
TryFromProtoError::MissingField
if the value is None
.
A trait that allows Self
to be used as an entry in a
Vec<Self>
representing a Rust *Map<K, V>
.
A trait that declares that Self::Proto
is the default
Protobuf representation for Self
.
A trait for representing a Rust type Self
as a value of
type Proto
for the purpose of serializing this
value as (part of) a Protobuf message.
Convenience syntax for trying to convert a Self
value of type
Option<U>
to T
if the value is Some(value)
, or returning
TryFromProtoError::MissingField
if the value is None
.
Functions
Blanket command for testing if R
can be converted to its corresponding
ProtoType
and back.