Enum rmp::Marker [] [src]

pub enum Marker {
    FixPos(u8),
    FixNeg(i8),
    Null,
    True,
    False,
    U8,
    U16,
    U32,
    U64,
    I8,
    I16,
    I32,
    I64,
    F32,
    F64,
    FixStr(u8),
    Str8,
    Str16,
    Str32,
    Bin8,
    Bin16,
    Bin32,
    FixArray(u8),
    Array16,
    Array32,
    FixMap(u8),
    Map16,
    Map32,
    FixExt1,
    FixExt2,
    FixExt4,
    FixExt8,
    FixExt16,
    Ext8,
    Ext16,
    Ext32,
    Reserved,
}

Variants

FixPos(u8)FixNeg(i8)NullTrueFalseU8U16U32U64I8I16I32I64F32F64FixStr(u8)Str8Str16Str32Bin8Bin16Bin32FixArray(u8)Array16Array32FixMap(u8)Map16Map32FixExt1FixExt2FixExt4FixExt8FixExt16Ext8Ext16Ext32Reserved

Methods

impl Marker
[src]

fn from_u8(n: u8) -> Marker

fn to_u8(&self) -> u8

Trait Implementations

impl Debug for Marker
[src]

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

Formats the value using the given formatter.

impl PartialEq for Marker
[src]

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

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

fn ne(&self, __arg_0: &Marker) -> bool

This method tests for !=.

impl Copy for Marker
[src]

impl Clone for Marker
[src]

fn clone(&self) -> Marker

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