pub trait RebindParentProxyInterface: Send + Sync {
type AddChildResponseFut: Future<Output = Result<RebindParentAddChildResult, Error>> + Send;
type RemoveChildResponseFut: Future<Output = Result<RebindParentRemoveChildResult, Error>> + Send;
// Required methods
fn add_child(&self) -> Self::AddChildResponseFut;
fn remove_child(&self) -> Self::RemoveChildResponseFut;
}Required Associated Types§
type AddChildResponseFut: Future<Output = Result<RebindParentAddChildResult, Error>> + Send
type RemoveChildResponseFut: Future<Output = Result<RebindParentRemoveChildResult, Error>> + Send
Required Methods§
fn add_child(&self) -> Self::AddChildResponseFut
fn remove_child(&self) -> Self::RemoveChildResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".