pub trait HeartbeatsBuilderExt<I = ()> {
    type Node: Node;
    type DecoratedBuilder<C: Config<Node = Self::Node> + 'static>;

    fn send_heartbeats<C>(self, config: C) -> Self::DecoratedBuilder<C>
    where
        C: Config<Node = Self::Node> + 'static
; }
Expand description

Extends NodeBuilder to conveniently decorate a node with Heartbeats.

Required Associated Types

Type of node to be decorated.

Type of builder after Heartbeats decoration is applied with config C.

Required Methods

Decorates the node with Heartbeats using the given configuration.

Implementors