Trait common_meta::node_manager::NodeManager

source ·
pub trait NodeManager: Send + Sync {
    // Required methods
    fn datanode<'life0, 'life1, 'async_trait>(
        &'life0 self,
        node: &'life1 Peer,
    ) -> Pin<Box<dyn Future<Output = DatanodeRef> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn flownode<'life0, 'life1, 'async_trait>(
        &'life0 self,
        node: &'life1 Peer,
    ) -> Pin<Box<dyn Future<Output = FlownodeRef> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Datanode manager

Required Methods§

source

fn datanode<'life0, 'life1, 'async_trait>( &'life0 self, node: &'life1 Peer, ) -> Pin<Box<dyn Future<Output = DatanodeRef> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Retrieves a target datanode.

source

fn flownode<'life0, 'life1, 'async_trait>( &'life0 self, node: &'life1 Peer, ) -> Pin<Box<dyn Future<Output = FlownodeRef> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Retrieves a target flownode.

Implementors§