Expand description
ConcreteComponent polymorphism contract — canonical home in
bb-runtime::concrete. This module re-exports the type for
authoring ergonomics so bb_dsl::concrete::ConcreteComponent
keeps resolving.
Structs§
- Component
Handle - Owned wrapper that travels through the ModelProto → Node pipeline. Carries captured fn pointers + state bytes.
- Construct
Error - Errors surfaced by
ConstructFn. - Dependency
Decl - Author-declared sibling dependency at a named slot. Compiler
verifies role match; runtime reaches it via
RuntimeResourceRef::dependency::<T>(slot).
Enums§
- Component
Package - Component-package origin tag. Surfaces in introspection + telemetry.
- Restore
Error - Error variants surfaced by
ConcreteComponent::restore.
Traits§
- Concrete
Component - Polymorphism contract. Implementing this trait IS the
registration mechanism — no global registry, no macro
required. Serialized state must be self-contained so
restorereconstructs without the originalConfig.
Type Aliases§
- Construct
Fn - Per-type constructor. Downcasts
&dyn Any→&Configand callsT::new. Install looks it up byTYPE_NAME. - Restore
Fn - Monomorphized
T::restore; used by snapshot/resume. - Serialize
Fn - Monomorphized
T::serializecaptured at derive-codegen time.