tokio_proto::streaming::pipeline::advanced

Type Alias PipelineMessage

Source
pub type PipelineMessage<T, B, E> = Result<Message<T, B>, E>;
Expand description

Message used to communicate through the multiplex dispatch

Aliased Type§

enum PipelineMessage<T, B, E> {
    Ok(Message<T, B>),
    Err(E),
}

Variants§

§1.0.0

Ok(Message<T, B>)

Contains the success value

§1.0.0

Err(E)

Contains the error value