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§
Sourcetype Error: Into<SparseTrieError>
type Error: Into<SparseTrieError>
The error type for the provider.
Required Methods§
Sourcefn blinded_node(&mut self, path: &Nibbles) -> Result<Option<Bytes>, Self::Error>
fn blinded_node(&mut self, path: &Nibbles) -> Result<Option<Bytes>, Self::Error>
Retrieve blinded node by path.