1use std::sync::Arc; 2 3use crate::Component; 4 5/// Registration interface for installing components into a context. 6pub trait ComponentRegistrar { 7 /// Register a component instance. 8 fn register_component_dyn(&mut self, component: Arc<dyn Component>); 9}