[][src]Trait iredismodule::NextArg

pub trait NextArg: Iterator {
    fn next_arg(&mut self) -> Result<RStr, Error>;
fn next_string(&mut self) -> Result<String, Error>;
fn next_i64(&mut self) -> Result<i64, Error>;
fn next_u64(&mut self) -> Result<u64, Error>;
fn next_f64(&mut self) -> Result<f64, Error>;
fn done(&mut self) -> Result<(), Error>; }

Help iterator for process args

Required methods

fn next_arg(&mut self) -> Result<RStr, Error>

fn next_string(&mut self) -> Result<String, Error>

fn next_i64(&mut self) -> Result<i64, Error>

fn next_u64(&mut self) -> Result<u64, Error>

fn next_f64(&mut self) -> Result<f64, Error>

fn done(&mut self) -> Result<(), Error>

Loading content...

Implementors

impl<T: Iterator<Item = RStr>> NextArg for T[src]

fn done(&mut self) -> Result<(), Error>[src]

Return an error if there are any more arguments

Loading content...