Enum portus::serialize::Msg [−][src]
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
Cr(Msg)
Ms(Msg)
Ins(Msg)
Other(RawMsg<'a>)
Methods
impl<'a> Msg<'a>
[src]
impl<'a> Msg<'a>
Trait Implementations
impl<'a> Debug for Msg<'a>
[src]
impl<'a> Debug for Msg<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> PartialEq for Msg<'a>
[src]
impl<'a> PartialEq for Msg<'a>