Expand description
Custom module factory — type registry for rack module construction Module factory — type-registry for modular rack module construction.
ModuleFactory is the single creation point for all rack modules:
Servo, Sensor, Graph, and Custom. Each archetype registers a
[ModuleConstructor] that receives a [ModuleDef] descriptor
and returns an [ActorRef<CommandEnum>] for the rack actor fan-out.
Structs§
- Module
Factory - Registry that maps module type names to constructors.
Enums§
- Drain
- How the actor’s drain loop is spawned.
- Module
Error - Errors returned by module construction via the type-registry.
Traits§
- Module
Constructor - Constructs rack modules from a
ModuleDefdescriptor.