Enum portus::serialize::Msg[][src]

pub enum Msg<'a> {
    Cr(Msg),
    Ms(Msg),
    Ins(Msg),
    Other(RawMsg<'a>),
}

Message type for deserialization. Reads message type in the header of the input buffer and returns a Msg of the corresponding type. If the message type is unkown, returns a wrapper with direct access to the message bytes.

Variants

Methods

impl<'a> Msg<'a>
[src]

Trait Implementations

impl<'a> Debug for Msg<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Msg<'a>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for Msg<'a>

impl<'a> Sync for Msg<'a>