reth_node_builder::common

Trait WithTree

Source
pub trait WithTree {
    // Required method
    fn set_tree(self, tree: Arc<dyn TreeViewer>) -> Self;
}
Expand description

Allows to set a tree viewer for a configured blockchain provider.

Required Methods§

Source

fn set_tree(self, tree: Arc<dyn TreeViewer>) -> Self

Setter for tree viewer.

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.

Implementations on Foreign Types§

Source§

impl<N: NodeTypesWithDB> WithTree for BlockchainProvider2<N>

Source§

fn set_tree(self, _tree: Arc<dyn TreeViewer>) -> Self

Source§

impl<N: NodeTypesWithDB> WithTree for BlockchainProvider<N>

Source§

fn set_tree(self, tree: Arc<dyn TreeViewer>) -> Self

Implementors§