pub trait TreeProxyInterface: Send + Sync {
type GetContentResponseFut: Future<Output = Result<TreeContent, Error>> + Send;
// Required methods
fn get_content(&self) -> Self::GetContentResponseFut;
fn list_child_names(
&self,
tree_iterator: ServerEnd<TreeNameIteratorMarker>,
) -> Result<(), Error>;
fn open_child(
&self,
child_name: &str,
tree: ServerEnd<TreeMarker>,
) -> Result<(), Error>;
}Required Associated Types§
type GetContentResponseFut: Future<Output = Result<TreeContent, Error>> + Send
Required Methods§
fn get_content(&self) -> Self::GetContentResponseFut
fn list_child_names( &self, tree_iterator: ServerEnd<TreeNameIteratorMarker>, ) -> Result<(), Error>
fn open_child( &self, child_name: &str, tree: ServerEnd<TreeMarker>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".