pub trait MasterLeasesBuilderExt {
    type Node: Node + 'static;
    type DecoratedBuilder<C: Config<Node = Self::Node> + 'static>;

    fn maintain_master_lease<C>(
        self,
        communicator_subscription: Subscription<NodeIdOf<Self::Node>>,
        voter_subscription: Subscription<NodeIdOf<Self::Node>>,
        config: C
    ) -> Self::DecoratedBuilder<C>
    where
        C: Config<Node = Self::Node> + 'static
; }

Required Associated Types

Required Methods

Implementors