pub fn list_namespaces() -> Result<Vec<String>, MemoryError>
List existing namespaces under the memory dir.