Enum httlib_protos::encoder::EncoderLit [−][src]
pub enum EncoderLit {
Show 27 variants
Bytes(Vec<u8>),
Bool(bool),
BoolList(Vec<bool>),
Int32(i32),
Int32List(Vec<i32>),
Int64(i64),
Int64List(Vec<i64>),
UInt32(u32),
UInt32List(Vec<u32>),
UInt64(u64),
UInt64List(Vec<u64>),
Float(f32),
FloatList(Vec<f32>),
Double(f64),
DoubleList(Vec<f64>),
SInt32(i32),
SInt32List(Vec<i32>),
SInt64(i64),
SInt64List(Vec<i64>),
Fixed32(u32),
Fixed32List(Vec<u32>),
Fixed64(u64),
Fixed64List(Vec<u64>),
SFixed32(i32),
SFixed32List(Vec<i32>),
SFixed64(i64),
SFixed64List(Vec<i64>),
}Expand description
Provides encoder input format options.
This is a list of all binary formats supported by the encoder.
Variants
Represents binary format of wire type 2.
Bool(bool)Represents bool format of wire type 0.
Tuple Fields of Bool
0: boolRepresents bool format of wire type 2 for packed repeated fields.
Int32(i32)Represents int32 format of wire type 0.
Tuple Fields of Int32
0: i32Represents int32 format of wire type 0 for packed repeated fields.
Int64(i64)Represents int64 format of wire type 0.
Tuple Fields of Int64
0: i64Represents int64 format of wire type 0 for packed repeated fields.
UInt32(u32)Represents uint32 format of wire type 0.
Tuple Fields of UInt32
0: u32Represents uint32 format of wire type 0 for packed repeated fields.
UInt64(u64)Represents uint64 format of wire type 0.
Tuple Fields of UInt64
0: u64Represents uint64 format of wire type 0 for packed repeated fields.
Float(f32)Represents float format of wire type 5.
Tuple Fields of Float
0: f32Represents float format of wire type 5 for packed repeated fields.
Double(f64)Represents uint32 format of wire type 1.
Tuple Fields of Double
0: f64Represents double format of wire type 1 for packed repeated fields.
SInt32(i32)Represents sint32 format of wire type 0.
Tuple Fields of SInt32
0: i32Represents sint32 format of wire type 0 for packed repeated fields.
SInt64(i64)Represents sint64 format of wire type 0.
Tuple Fields of SInt64
0: i64Represents sint64 format of wire type 0 for packed repeated fields.
Fixed32(u32)Represents fixed32 format of wire type 5.
Tuple Fields of Fixed32
0: u32Represents fixed32 format of wire type 5 for packed repeated fields.
Fixed64(u64)Represents fixed64 format of wire type 1.
Tuple Fields of Fixed64
0: u64Represents fixed64 format of wire type 1 for packed repeated fields.
SFixed32(i32)Represents sfixed32 format of wire type 5.
Tuple Fields of SFixed32
0: i32Represents sfixed32 format of wire type 5 for packed repeated
fields.
SFixed64(i64)Represents sfixed64 format of wire type 1.
Tuple Fields of SFixed64
0: i64Represents sfixed64 format of wire type 1 for packed repeated
fields.