pub trait InspectProxyInterface: Send + Sync {
type ReadDataResponseFut: Future<Output = Result<Object, Error>> + Send;
type ListChildrenResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;
type OpenChildResponseFut: Future<Output = Result<bool, Error>> + Send;
// Required methods
fn read_data(&self) -> Self::ReadDataResponseFut;
fn list_children(&self) -> Self::ListChildrenResponseFut;
fn open_child(
&self,
child_name: &str,
child_channel: ServerEnd<InspectMarker>,
) -> Self::OpenChildResponseFut;
}Required Associated Types§
type ReadDataResponseFut: Future<Output = Result<Object, Error>> + Send
type ListChildrenResponseFut: Future<Output = Result<Vec<String>, Error>> + Send
type OpenChildResponseFut: Future<Output = Result<bool, Error>> + Send
Required Methods§
fn read_data(&self) -> Self::ReadDataResponseFut
fn list_children(&self) -> Self::ListChildrenResponseFut
fn open_child( &self, child_name: &str, child_channel: ServerEnd<InspectMarker>, ) -> Self::OpenChildResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".