reth_trie_sparse::blinded

Trait BlindedProvider

Source
pub trait BlindedProvider {
    type Error: Into<SparseTrieError>;

    // Required method
    fn blinded_node(
        &mut self,
        path: &Nibbles,
    ) -> Result<Option<Bytes>, Self::Error>;
}
Expand description

Trie node provider for retrieving blinded nodes.

Required Associated Types§

Source

type Error: Into<SparseTrieError>

The error type for the provider.

Required Methods§

Source

fn blinded_node(&mut self, path: &Nibbles) -> Result<Option<Bytes>, Self::Error>

Retrieve blinded node by path.

Implementors§