(&self, list: Vec<VectorId>)
| 65 | |
| 66 | #[inline] |
| 67 | pub fn vec_gets(&self, list: Vec<VectorId>) -> Result<Vec<(String, Vector)>, SessionResult> { |
| 68 | match self.datastores.get::<VecStorage>() { |
| 69 | None => Err(SessionResult::DataStoreNotFound), |
| 70 | Some(datastore) => { |
| 71 | let res = datastore.gets(list); |
| 72 | Ok(res) |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | |
| 78 | #[inline] |