Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Mirage_kv end
MirageOS key-value stores are nested dictionaries, associating structured keys to either dictionaries or values.
module Key = Mirage_kv.Key
type key = Key.t
The type for keys.
type error = [
| `Not_found of key
key not found
*)| `Dictionary_expected of key
key does not refer to a dictionary.
*)| `Value_expected of key
key does not refer to a value.
*) ]
The type for errors.
module type RO = Mirage_kv.RO
type write_error = [
| error
| `No_space
No space left on the device.
*)| `Too_many_retries of int
batch
has been trying to commit n
times without success.
]
val pp_write_error : write_error Fmt.t
pp_write_error
is the pretty-printer for write errors.
module type RW = Mirage_kv.RW