Struct riak::stream::KeyStream
[−]
[src]
pub struct KeyStream { /* fields omitted */ }
KeyStream
represents a list of keys in a Riak bucket
Methods
impl KeyStream
[src]
fn new(client: &mut Client, bucket: Vec<u8>) -> Result<KeyStream, RiakErr>
constructs a new KeyStream
fn all(&mut self) -> Result<Vec<Vec<u8>>, RiakErr>
return a list of all the keys from the stream
fn next(&mut self) -> Option<Result<Vec<Vec<u8>>, RiakErr>>
return the next group of keys from the stream