Enum protobuf::UnknownValue[][src]

pub enum UnknownValue {
    Fixed32(u32),
    Fixed64(u64),
    Varint(u64),
    LengthDelimited(Vec<u8>),
}
Expand description

Unknown value.

See UnknownFields for the explanations.

Variants

Fixed32(u32)

32-bit unknown (e. g. fixed32 or float)

Tuple Fields of Fixed32

0: u32
Fixed64(u64)

64-bit unknown (e. g. fixed64 or double)

Tuple Fields of Fixed64

0: u64
Varint(u64)

Varint unknown (e. g. int32 or bool)

Tuple Fields of Varint

0: u64
LengthDelimited(Vec<u8>)

Length-delimited unknown (e. g. message or string)

Tuple Fields of LengthDelimited

0: Vec<u8>

Implementations

Wire type for this unknown

As ref

Construct unknown value from sint32 value.

Construct unknown value from sint64 value.

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.