Struct protobuf::types::ProtobufTypeMessage
source · [−]pub struct ProtobufTypeMessage<M: Message>(_);
Expand description
message
Trait Implementations
type Value = M
type Value = M
Rust type of value
Read value from CodedInputStream
Get value from UnknownValues
Compute wire size
Get previously computed size
fn write_with_cached_size(
field_number: u32,
value: &Self::Value,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn write_with_cached_size(
field_number: u32,
value: &Self::Value,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
Write a value with previously cached size
Compute size adding length prefix if wire type is length delimited (i. e. string, bytes, message) Read more
Get previously cached size with length prefix