Enum protobuf::UnknownValueRef[][src]

pub enum UnknownValueRef<'o> {
    Fixed32(u32),
    Fixed64(u64),
    Varint(u64),
    LengthDelimited(&'o [u8]),
}
Expand description

Reference to unknown value.

See UnknownFields for explanations.

Variants

Fixed32(u32)

32-bit unknown

Tuple Fields of Fixed32

0: u32
Fixed64(u64)

64-bit unknown

Tuple Fields of Fixed64

0: u64
Varint(u64)

Varint unknown

Tuple Fields of Varint

0: u64
LengthDelimited(&'o [u8])

Length-delimited unknown

Tuple Fields of LengthDelimited

0: &'o [u8]

Implementations

Wire-type to serialize this unknown

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.