[][src]Trait protocol::wire::middleware::pipeline::Pipeline

pub trait Pipeline: Debug {
    fn encode_data(&mut self, data: Vec<u8>) -> Result<Vec<u8>, Error>;
fn decode_data(&mut self, data: Vec<u8>) -> Result<Vec<u8>, Error>; }

A middleware pipeline.

Required methods

fn encode_data(&mut self, data: Vec<u8>) -> Result<Vec<u8>, Error>

fn decode_data(&mut self, data: Vec<u8>) -> Result<Vec<u8>, Error>

Loading content...

Implementors

impl Pipeline for Default[src]

Loading content...