Implement ContactStore::all_contacts()
This commit is contained in:
parent
d3b38b5a90
commit
3bf1b6ccec
1 changed files with 6 additions and 1 deletions
|
@ -109,7 +109,12 @@ impl<'a> ContactStore<'a> for Store {
|
|||
}
|
||||
|
||||
fn all_contacts(&'a self) -> Result<StoreIdIterator> {
|
||||
unimplemented!()
|
||||
let iter = self
|
||||
.entries()?
|
||||
.without_store()
|
||||
.filter(|id| id.is_in_collection(&["contact"]));
|
||||
|
||||
Ok(StoreIdIterator::new(Box::new(iter)))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue