Crate kvx

Source

Modules§

queue

Macros§

namespace
Macro to provide a safe way to create a &Namespace at compile-time.
segment
Macro to provide a safe way to create a &Segment at compile-time.

Structs§

Key
Represents the key used in KVx. Consists of a scope of type Scope and a name of type SegmentBuf.
KeyValueStore
Represents a key-value store, wraps a backend
Namespace
A string slice representing a namespace.
NamespaceBuf
An owned Namespace.
Scope
Used to scope a Key. Consists of a vector of zero or more SegmentBufs.
Segment
A nonempty string slice that does not start or end with whitespace and does not contain any instances of Scope::SEPARATOR.
SegmentBuf
A nonempty string that does not start or end with whitespace and does not contain any instances of Scope::SEPARATOR.

Enums§

Error
Represents all ways a method can fail within KVx.

Traits§

KeyValueStoreBackend
Read, Write and Transaction operations of a store
PubKeyValueStoreBackend
ReadStore
Read operations of a store
WriteStore
Write operations of a store