Skip to main content

make_data_source_dispatcher

Function make_data_source_dispatcher 

Source
pub fn make_data_source_dispatcher<T: DataSourceRuntime + 'static>() -> RoleDispatcher
Expand description

Build a RoleDispatcher for a concrete impl of crate::roles::DataSourceRuntime. Used by Engine::register_*_dispatcher chain (Node::with_<role>(&value)) so single-role components dispatch through the same TypeId-keyed registry as multi-role / Protocol-bearing components.