Struct redis_client::reader::Reader [] [src]

pub struct Reader;

Methods

impl Reader
[src]

fn read(buffer: &mut BufReader<TcpStream>) -> Result<RedisResultRedisError>

Read the stream expecting one response. Determine the type of the response

fn read_pipeline(buffer: &mut BufReader<TcpStream>, cmd_nb: usize) -> Result<Vec<RedisResult>, RedisError>

Read the stream and expect several responses