fedimint_client_module

Module sm

Source
Expand description

Client state machine interfaces and executor implementation

Re-exports§

pub use executor::ActiveStateMeta;
pub use executor::InactiveStateMeta;

Modules§

dbtx 🔒
executor
notifier 🔒
state 🔒
State machine state interface
util

Structs§

ClientSMDatabaseTransaction
A transaction that acts as isolated for module code but can be accessed as a normal transaction in this crate.
DynContext
A shared context for a module client state machine
DynState
A type-erased state of a state machine belonging to a module instance, see State
ModuleNotifier
State transition notifier for a specific module instance that can only subscribe to transitions belonging to that module
OperationState
StateTransition
Represents one or multiple possible state transitions triggered in a common way

Traits§

Context
Additional data made available to state machines of a module (e.g. API clients)
IState
Object-safe version of State
State
Implementors act as state machines that can be executed

Type Aliases§

StateTransitionFunction