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

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

Extends NodeBuilder to conveniently decorate a node with Delegate.

Required Associated Types

Node type to be decorated.

Required Methods

Decorates the node with Delegate using the given configuration.

Implementors