async fn connect_to_event_source(component_manager_path: &PathBuf) -> Result<EventSource, Error> {
    let path_to_svc = component_manager_path.join("out/svc");
    let path_to_svc = path_to_svc.to_str().expect("found invalid chars");
    let proxy = connect_to_service_at::<EventSourceSyncMarker>(path_to_svc)
        .context("could not connect to EventSourceSync service")?;
    Ok(EventSource::from_proxy(proxy))
}
/// Use the path to component manager's hub to find the Breakpoint service
/// and connect to it
Use the path to component manager's hub to find the Breakpoint service
and connect to it
Use the path to component manager ' s hub to find the Breakpoint service and connect to it
async fn connect_to_event_source(component_manager_path: &PathBuf) -> Result<EventSource, Error> {
    let path_to_svc = component_manager_path.join("out/svc");
    let path_to_svc = path_to_svc.to_str().expect("found invalid chars");
    let proxy = connect_to_service_at::<EventSourceSyncMarker>(path_to_svc)
        .context("could not connect to EventSourceSync service")?;
    Ok(EventSource::from_proxy(proxy))
}
async fn connect_to_event_source ( component_manager_path : & PathBuf ) -> Result < EventSource , Error > { let path_to_svc = component_manager_path . join ( " " ) ; let path_to_svc = path_to_svc . to_str ( ) . expect ( " " ) ; let proxy = connect_to_service_at :: < EventSourceSyncMarker > ( path_to_svc ) . context ( " " ) ? ; Ok ( EventSource :: from_proxy ( proxy ) ) }
Use the path to component manager's hub to find the Breakpoint service
and connect to it
Use the path to component manager ' s hub to find the Breakpoint service and connect to it
component_manager_path
&PathBuf
component_manager_path
&PathBuf