Trait paxakos::heartbeats::HeartbeatsBuilderExt[][src]

pub trait HeartbeatsBuilderExt<I = ()> {
    type Node: MaybeLeadershipAwareNode<I> + 'static;
    type Voter: Voter;
    type Buffer: Buffer;
    fn send_heartbeats<C>(
        self,
        config: C
    ) -> NodeBuilder<Heartbeats<Self::Node, C, I>, Self::Voter, Self::Buffer>
    where
        C: Config<Node = Self::Node> + 'static
; }
Expand description

Extends NodeBuilder to conveniently decorate a node with Heartbeats.

Associated Types

Node type to be decorated.

Voter type.

Buffer type.

Required methods

Decorates the node with Heartbeats using the given configuration.

Implementors