Struct protobuf::types::ProtobufTypeUint32
[−]
[src]
pub struct ProtobufTypeUint32;
Trait Implementations
impl ProtobufType for ProtobufTypeUint32
[src]
type Value = u32
fn wire_type() -> WireType
fn read(is: &mut CodedInputStream) -> ProtobufResult<u32>
fn compute_size(value: &u32) -> u32
fn write_with_cached_size<W>(field_number: u32,
value: &u32,
os: &mut W)
-> ProtobufResult<()> where W: Write
value: &u32,
os: &mut W)
-> ProtobufResult<()> where W: Write
fn compute_size_with_length_delimiter(value: &Self::Value) -> u32
Compute size adding length prefix if wire type is length delimited (i. e. string, bytes, message) Read more
fn get_cached_size(value: &Self::Value) -> u32
Get previously computed size
fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32
Get previously cached size with length prefix