Enum protobuf::stream::wire_format::WireType [] [src]

pub enum WireType {
    WireTypeVarint,
    WireTypeFixed64,
    WireTypeLengthDelimited,
    WireTypeStartGroup,
    WireTypeEndGroup,
    WireTypeFixed32,
}

Variants

WireTypeVarintWireTypeFixed64WireTypeLengthDelimitedWireTypeStartGroupWireTypeEndGroupWireTypeFixed32

Methods

impl WireType
[src]

fn new(n: u32) -> Option<WireType>

Trait Implementations

impl Debug for WireType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for WireType
[src]

fn clone(&self) -> WireType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for WireType
[src]

impl PartialEq for WireType
[src]

fn eq(&self, __arg_0: &WireType) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for WireType
[src]