pub trait ClusterExtension {
    type Output;
    type Error;

    fn init_extension<'life0, 'async_trait>(
        self,
        node: &'life0 DatacakeNode
    ) -> Pin<Box<dyn Future<Output = Result<Self::Output, Self::Error>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

An extension of the base node/cluster.

This can be used to extend a base node to include additional functionality, like the eventually consistent store, multi-raft cluster or anything else which may want to use the membership, rpc and clock system.

Required Associated Types§

Required Methods§

Implementors§