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