[][src]Enum protobuf::UnknownValueRef

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

Reference to unknown value.

See UnknownFields for explanations.

Variants

Fixed32(u32)

32-bit unknown

Fixed64(u64)

64-bit unknown

Varint(u64)

Varint unknown

LengthDelimited(&'o [u8])

Length-delimited unknown

Methods

impl<'o> UnknownValueRef<'o>[src]

pub fn wire_type(&self) -> WireType[src]

Wire-type to serialize this unknown

Auto Trait Implementations

impl<'o> Send for UnknownValueRef<'o>

impl<'o> Sync for UnknownValueRef<'o>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]