Struct portus::serialize::RawMsg[][src]

pub struct RawMsg<'a> {
    pub typ: u8,
    pub len: u32,
    pub sid: u32,
    // some fields omitted
}

A raw messge buffer with a parsed CCP header.

Fields

Methods

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

For predefined messages, bytes blob is whatever's left (may be nothing) For other message types, just return the bytes blob

Trait Implementations

impl<'a> Clone for RawMsg<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<'a> PartialEq for RawMsg<'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 RawMsg<'a>

impl<'a> Sync for RawMsg<'a>