pub trait InstallBirth<A: Address, C: Behavior, Output, Error>{
// Required method
fn install_birth(
&mut self,
creation: Create<A, C>,
) -> impl Future<Output = Result<Output, Error>> + Send;
}Expand description
Static interpreter capability for installing one concrete child behavior.
An interpreter implements this trait separately for every concrete child protocol it can install. Heterogeneous child sums require all applicable implementations through recursive static bounds, so unsupported alternatives fail to compile instead of falling through to a registry or erased path. The returned future is sendable so an interpreter may remain inside a thread-safe recursive driver future.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".