Skip to main content

TestnetPool

Trait TestnetPool 

Source
pub trait TestnetPool:
    TransactionPool<Transaction: PoolTransaction<Consensus = TransactionSigned, Pooled = PooledTransactionVariant>>
    + Unpin
    + 'static { }
Available on crate features test-utils only.
Expand description

A transaction pool that can back the transactions manager of a Peer in a spawned Testnet.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> TestnetPool for T
where T: TransactionPool<Transaction: PoolTransaction<Consensus = TransactionSigned, Pooled = PooledTransactionVariant>> + Unpin + 'static,