pub fn to_router(self, router: Router) {
        let dispatcher = DispatcherImpl::new(router, self.pipeline_chain, self.pipelines);
        let route: DelegatedRoute = DelegatedRoute::new(
            AnyRouteMatcher::new(),
            Box::new(dispatcher),
            Extractors::new(),
            Delegation::External,
        );

        self.node_builder.add_route(Box::new(route));
    }
/// Directs the delegated route to the given `Router`.
Directs the delegated route to the given `Router`.
Directs the delegated route to the given ` Router ` .
pub fn to_router(self, router: Router) {
        let dispatcher = DispatcherImpl::new(router, self.pipeline_chain, self.pipelines);
        let route: DelegatedRoute = DelegatedRoute::new(
            AnyRouteMatcher::new(),
            Box::new(dispatcher),
            Extractors::new(),
            Delegation::External,
        );
        self.node_builder.add_route(Box::new(route));
    }
pub fn to_router ( self , router : Router ) { let dispatcher = DispatcherImpl :: new ( router , self . pipeline_chain , self . pipelines ) ; let route : DelegatedRoute = DelegatedRoute :: new ( AnyRouteMatcher :: new ( ) , Box :: new ( dispatcher ) , Extractors :: new ( ) , Delegation :: External , ) ; self . node_builder . add_route ( Box :: new ( route ) ) ; }
Directs the delegated route to the given `Router`.
Directs the delegated route to the given ` Router ` .
self
router
Router
self
router
Router