pub trait ChildState: Sealed + Sized { }Expand description
Child specification state.
This trait is sealed – it cannot be implemented outside of this crate – and is implemented only for
WorkerSpec and SupervisorSpec. It exists so that Supervisor::add_worker can accept a
ChildSpecification in either state (as well as bare workers and supervisors) while lowering each into the
supervisor’s internal representation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".