Crate edfsm_kv_store

Crate edfsm_kv_store 

Source
Expand description

§Event Driven FSM KV Store

A Key-Value Store based on edfsm’s FSM trait implementation. The store is often wired up to use edfsm-machine and streambed-logged to use as a fully-fledged persistent database. All key/values are held in memory so only use for those scenarios where that is what is required.

This library uses core and alloc.

Re-exports§

pub use path::Path;
pub use async_query::requester;
pub use async_query::Requester;

Modules§

async_query
path

Structs§

Keyed
This type pairs a Path with another value. This may be an event or output of a state machine in the KvStore.
KvStore
KvStore<M> represents the collection of state machines of type M.

Enums§

Query
A query to the KV store.

Type Aliases§

Command
The command type of an Fsm
Effect
The effector/effects type of an Fsm
Event
The event type of an Fsm
In
The input type of an Fsm
Out
The output message type of an Fsm for the purpose of this module.
RespondMany
Type of a function that will respond to an many-valued query.
RespondOne
Type of a function that will respond to a single valued query.
State
The state type of an Fsm