Struct tokio_proto::streaming::multiplex::advanced::MultiplexMessage [] [src]

pub struct MultiplexMessage<T, B, E> {
    pub id: RequestId,
    pub message: Result<Message<T, B>, E>,
    pub solo: bool,
}

Message used to communicate through the multiplex dispatch

Fields

Request ID

Message

True if message has no pair (request / response)

Methods

impl<T, B, E> MultiplexMessage<T, B, E>
[src]

Create a new MultiplexMessage

Create a new errored MultiplexMessage

Trait Implementations

impl<T: Debug, B: Debug, E: Debug> Debug for MultiplexMessage<T, B, E>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T, B, E> Send for MultiplexMessage<T, B, E> where
    B: Send,
    E: Send,
    T: Send

impl<T, B, E> Sync for MultiplexMessage<T, B, E> where
    B: Sync,
    E: Sync,
    T: Sync