reth_network_api

Trait FullNetwork

Source
pub trait FullNetwork:
    BlockDownloaderProvider<Client: EthBlockClient>
    + NetworkSyncUpdater
    + NetworkInfo
    + NetworkEventListenerProvider
    + PeersInfo
    + Peers
    + Clone
    + 'static { }
Expand description

Helper trait that unifies network API needed to launch node.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> FullNetwork for T
where T: BlockDownloaderProvider<Client: EthBlockClient> + NetworkSyncUpdater + NetworkInfo + NetworkEventListenerProvider + PeersInfo + Peers + Clone + 'static,