NodeHandleFor

Type Alias NodeHandleFor 

Source
pub type NodeHandleFor<N, DB = Arc<DatabaseEnv>> = NodeHandle<NodeAdapter<RethFullAdapter<DB, N>>, <N as Node<RethFullAdapter<DB, N>>>::AddOns>;
Expand description

Helper type alias to define NodeHandle for a given Node.

Aliased Type§

pub struct NodeHandleFor<N, DB = Arc<DatabaseEnv>> {
    pub node: FullNode<NodeAdapter<FullNodeTypesAdapter<N, DB, BlockchainProvider<NodeTypesWithDBAdapter<N, DB>>>>, <N as Node<FullNodeTypesAdapter<N, DB, BlockchainProvider<NodeTypesWithDBAdapter<N, DB>>>>>::AddOns>,
    pub node_exit_future: NodeExitFuture,
}

Fields§

§node: FullNode<NodeAdapter<FullNodeTypesAdapter<N, DB, BlockchainProvider<NodeTypesWithDBAdapter<N, DB>>>>, <N as Node<FullNodeTypesAdapter<N, DB, BlockchainProvider<NodeTypesWithDBAdapter<N, DB>>>>>::AddOns>

All node components.

§node_exit_future: NodeExitFuture

The exit future of the node.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.