Set a custom memory store
(mut self, store: Arc<dyn MemoryStore>)
| 249 | |
| 250 | /// Set a custom memory store |
| 251 | pub fn with_memory(mut self, store: Arc<dyn MemoryStore>) -> Self { |
| 252 | self.memory_store = Some(store); |
| 253 | self |
| 254 | } |
| 255 | |
| 256 | /// Use a file-based memory store at the given directory. |
| 257 | /// |
no outgoing calls