pub trait PoolBuilder<Node: FullNodeTypes>: Send {
type Pool: TransactionPool + Unpin + 'static;
// Required method
fn build_pool(
self,
ctx: &BuilderContext<Node>,
) -> impl Future<Output = Result<Self::Pool>> + Send;
}
Expand description
A type that knows how to build the transaction pool.
Required Associated Types§
Required Methods§
sourcefn build_pool(
self,
ctx: &BuilderContext<Node>,
) -> impl Future<Output = Result<Self::Pool>> + Send
fn build_pool( self, ctx: &BuilderContext<Node>, ) -> impl Future<Output = Result<Self::Pool>> + Send
Creates the transaction pool.
Object Safety§
This trait is not object safe.