(&self)
| 435 | |
| 436 | #[inline] |
| 437 | pub fn iter_index<K, Doc>(&self) -> Result<Iter<String, K>, SessionResult> |
| 438 | where |
| 439 | Doc: Serialize + DeserializeOwned + Clone + Send + 'static + Document, |
| 440 | K: Serialize |
| 441 | + DeserializeOwned |
| 442 | + PartialOrd |
| 443 | + Ord |
| 444 | + PartialEq |
| 445 | + Eq |
| 446 | + Hash |
| 447 | + Clone |
| 448 | + Send |
| 449 | + Sync |
| 450 | + 'static |
| 451 | { |
| 452 | match self.datastores.get::<Storage<K, Doc>>() { |
| 453 | None => Err(SessionResult::DataStoreNotFound), |
| 454 | Some(datastore) => { |
| 455 | let res = datastore.iter_index(); |
| 456 | Ok(res) |
| 457 | } |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | |
| 462 | #[inline] |
nothing calls this directly
no outgoing calls
no test coverage detected