pub trait ChildRealmProxyInterface: Send + Sync {
type StopChildrenResponseFut: Future<Output = Result<(), Error>> + Send;
type CreateChildrenResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn stop(&self) -> Result<(), Error>;
fn stop_children(&self) -> Self::StopChildrenResponseFut;
fn create_children(
&self,
direct_children: u16,
tree_height: u16,
) -> Self::CreateChildrenResponseFut;
}Required Associated Types§
type StopChildrenResponseFut: Future<Output = Result<(), Error>> + Send
type CreateChildrenResponseFut: Future<Output = Result<(), Error>> + Send
Required Methods§
fn stop(&self) -> Result<(), Error>
fn stop_children(&self) -> Self::StopChildrenResponseFut
fn create_children( &self, direct_children: u16, tree_height: u16, ) -> Self::CreateChildrenResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".