Enum httlib_protos::decoder::DecoderLit[][src]

pub enum DecoderLit {
Show 27 variants Bytes(Vec<u8>), Bool(Vec<u8>), BoolList(Vec<u8>), Int32(Vec<u8>), Int32List(Vec<u8>), Int64(Vec<u8>), Int64List(Vec<u8>), UInt32(Vec<u8>), UInt32List(Vec<u8>), UInt64(Vec<u8>), UInt64List(Vec<u8>), Float(Vec<u8>), FloatList(Vec<u8>), Double(Vec<u8>), DoubleList(Vec<u8>), SInt32(Vec<u8>), SInt32List(Vec<u8>), SInt64(Vec<u8>), SInt64List(Vec<u8>), Fixed32(Vec<u8>), Fixed32List(Vec<u8>), Fixed64(Vec<u8>), Fixed64List(Vec<u8>), SFixed32(Vec<u8>), SFixed32List(Vec<u8>), SFixed64(Vec<u8>), SFixed64List(Vec<u8>),
}
Expand description

Provides decoder output format options.

This is a list of all binary formats supported by the decoder.

Variants

Bytes(Vec<u8>)

Represents binary format of wire type 2.

Tuple Fields of Bytes

0: Vec<u8>
Bool(Vec<u8>)

Represents bool format of wire type 0.

Tuple Fields of Bool

0: Vec<u8>
BoolList(Vec<u8>)

Represents bool format of wire type 2 for packed repeated fields.

Tuple Fields of BoolList

0: Vec<u8>
Int32(Vec<u8>)

Represents int32 format of wire type 0.

Tuple Fields of Int32

0: Vec<u8>
Int32List(Vec<u8>)

Represents int32 format of wire type 0 for packed repeated fields.

Tuple Fields of Int32List

0: Vec<u8>
Int64(Vec<u8>)

Represents int64 format of wire type 0.

Tuple Fields of Int64

0: Vec<u8>
Int64List(Vec<u8>)

Represents int64 format of wire type 0 for packed repeated fields.

Tuple Fields of Int64List

0: Vec<u8>
UInt32(Vec<u8>)

Represents uint32 format of wire type 0.

Tuple Fields of UInt32

0: Vec<u8>
UInt32List(Vec<u8>)

Represents uint32 format of wire type 0 for packed repeated fields.

Tuple Fields of UInt32List

0: Vec<u8>
UInt64(Vec<u8>)

Represents uint64 format of wire type 0.

Tuple Fields of UInt64

0: Vec<u8>
UInt64List(Vec<u8>)

Represents uint64 format of wire type 0 for packed repeated fields.

Tuple Fields of UInt64List

0: Vec<u8>
Float(Vec<u8>)

Represents float format of wire type 5.

Tuple Fields of Float

0: Vec<u8>
FloatList(Vec<u8>)

Represents float format of wire type 5 for packed repeated fields.

Tuple Fields of FloatList

0: Vec<u8>
Double(Vec<u8>)

Represents uint32 format of wire type 1.

Tuple Fields of Double

0: Vec<u8>
DoubleList(Vec<u8>)

Represents double format of wire type 1 for packed repeated fields.

Tuple Fields of DoubleList

0: Vec<u8>
SInt32(Vec<u8>)

Represents sint32 format of wire type 0.

Tuple Fields of SInt32

0: Vec<u8>
SInt32List(Vec<u8>)

Represents sint32 format of wire type 0 for packed repeated fields.

Tuple Fields of SInt32List

0: Vec<u8>
SInt64(Vec<u8>)

Represents sint64 format of wire type 0.

Tuple Fields of SInt64

0: Vec<u8>
SInt64List(Vec<u8>)

Represents sint64 format of wire type 0 for packed repeated fields.

Tuple Fields of SInt64List

0: Vec<u8>
Fixed32(Vec<u8>)

Represents fixed32 format of wire type 5.

Tuple Fields of Fixed32

0: Vec<u8>
Fixed32List(Vec<u8>)

Represents fixed32 format of wire type 5 for packed repeated fields.

Tuple Fields of Fixed32List

0: Vec<u8>
Fixed64(Vec<u8>)

Represents fixed64 format of wire type 1.

Tuple Fields of Fixed64

0: Vec<u8>
Fixed64List(Vec<u8>)

Represents fixed64 format of wire type 1 for packed repeated fields.

Tuple Fields of Fixed64List

0: Vec<u8>
SFixed32(Vec<u8>)

Represents sfixed32 format of wire type 5.

Tuple Fields of SFixed32

0: Vec<u8>
SFixed32List(Vec<u8>)

Represents sfixed32 format of wire type 5 for packed repeated fields.

Tuple Fields of SFixed32List

0: Vec<u8>
SFixed64(Vec<u8>)

Represents sfixed64 format of wire type 1.

Tuple Fields of SFixed64

0: Vec<u8>
SFixed64List(Vec<u8>)

Represents sfixed64 format of wire type 1 for packed repeated fields.

Tuple Fields of SFixed64List

0: Vec<u8>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.