[][src]Crate persawkv

Simple persistent generic HashMap/Key-value store, using the Persy Index API.

This is in a beta state at the moment.

usage:

use persawkv::prelude::*;
let test_store = persawkv::SingleKV::<String, String>::new("./raw.cab", "runint").unwrap();

let _ = test_store.insert("key".to_string(), "value".to_string());
println!("{:?}", test_store.get(&"key".to_string()));
let _ = test_store.remove("key".to_string());

Modules

prelude

This module contains the standard traits for this crate

Structs

BaseKV

The type that represents a key--(value mode generic)-value store

Iter

This type represents a key-..-value iterator

KeysIter

This type represents a keys iterator

MultiKV

The type that represents a key--multiple-value store

SingleKV

The type that represents a key-value store

Traits

KV

This trait represents the common interface for all key-...-value stores defined in this crate

Type Definitions

PRes