pub trait ChildRole<Parent: Behavior> {
type Child: Behavior;
type Position: ChildPosition<<Parent::Birth as BirthMode>::Child, Self::Child>;
}Expand description
Static proof that Role names one exact direct child of Parent.
Behavior authoring owns this relationship. A runtime may use the proof to build application topology, but the role itself allocates nothing and is not evidence that the child was created or installed.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".