pub trait TreeReader {
// Required methods
fn get_root(&self) -> Result<Option<(Vec<u8>, Children)>>;
fn get_node(
&self,
node_address: NodeAddress,
) -> Result<Option<(Vec<u8>, Children)>>;
fn get_node_children(
&self,
node_address: NodeAddress,
) -> Result<Option<Children>>;
}Required Methods§
fn get_root(&self) -> Result<Option<(Vec<u8>, Children)>>
fn get_node( &self, node_address: NodeAddress, ) -> Result<Option<(Vec<u8>, Children)>>
fn get_node_children( &self, node_address: NodeAddress, ) -> Result<Option<Children>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".