Modules§
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 typeScope
and aname
of typeSegmentBuf
. - KeyValue
Store - Represents a key-value store, wraps a backend
- Namespace
- A string slice representing a namespace.
- Namespace
Buf - An owned Namespace.
- Scope
- Used to scope a
Key
. Consists of a vector of zero or moreSegmentBuf
s. - Segment
- A nonempty string slice that does not start or end with whitespace and does
not contain any instances of
Scope::SEPARATOR
. - Segment
Buf - 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§
- KeyValue
Store Backend - Read, Write and Transaction operations of a store
- PubKey
Value Store Backend - Read
Store - Read operations of a store
- Write
Store - Write operations of a store