Struct persistent_hashmap::PersistentHashmap
[−]
[src]
pub struct PersistentHashmap<K: ?Sized, V> { // some fields omitted }
Methods
impl<K: ?Sized, V: Copy + Default> PersistentHashmap<K, V>
fn new<P>(path: P, size: u64) -> Result<PersistentHashmap<K, V>, Error> where P: AsRef<Path>
Creates a new persistent hashmap
fn open<P>(path: P) -> Result<PersistentHashmap<K, V>, Error> where P: AsRef<Path>
Opens an existing persistent hashmap