Trait protobuf::rt::ProtobufVarint [−][src]
pub trait ProtobufVarint {
fn len_varint(&self) -> u32;
}
Expand description
Helper trait implemented by integer types which could be encoded as varint.
Required methods
fn len_varint(&self) -> u32
fn len_varint(&self) -> u32
Size of self when encoded as varint.