Structs§
- Block
Processing Batch - Consensus
Instance - Consensus
Manager - Consensus
Session Blocking - Consensus
Session Owned - An owned consensus session type which can be cloned and shared across threads.
See method
spawn_blocking
within for context on the usefulness of this type. Please note - you must useConsensusProxy
type alias instead of this struct. - Session
Lock - Session
Read Guard - Session
Write Guard - Staging
Consensus
Traits§
- Consensus
Ctl - Consensus controller trait. Includes methods required to start/stop/control consensus, but which should not be exposed to ordinary users
- Consensus
Factory - Consensus
Reset Handler - Defines a trait which handles consensus resets for external parts of the system. We avoid using the generic notification system since the reset needs to be handled synchronously in order to retain state consistency
Functions§
- spawn_
blocking - Runs the provided closure on a thread where blocking is acceptable.