Trait paxakos::catch_up::Config

source ·
pub trait Config {
    type Node: Node;

    fn init(&mut self, node: &Self::Node) { ... }
    fn update(&mut self, event: &EventFor<Self::Node>) { ... }
    fn additional_nodes(&self) -> Vec<NodeOf<Self::Node>> { ... }
}
Expand description

Ensure leadership configuration.

Required Associated Types

The node type that is decorated.

Provided Methods

Initializes this configuration.

Updates the configuration with the given event.

Additional nodes to poll from.

Implementors