async fn create_services() -> (Arc<Mutex<ServiceRegistry>>, FakeServices) {
    let service_registry = ServiceRegistry::create();

    let camera3_service_handle = Arc::new(Mutex::new(Camera3Service::new()));
    service_registry.lock().await.register_service(camera3_service_handle.clone());

    (service_registry, FakeServices { camera3_service: camera3_service_handle })
}
// Returns a registry and input related services with which it is populated.
Returns a registry and input related services with which it is populated.
Returns a registry and input related services with which it is populated .
async fn create_services() -> (Arc<Mutex<ServiceRegistry>>, FakeServices) {
    let service_registry = ServiceRegistry::create();
    let camera3_service_handle = Arc::new(Mutex::new(Camera3Service::new()));
    service_registry.lock().await.register_service(camera3_service_handle.clone());
    (service_registry, FakeServices { camera3_service: camera3_service_handle })
}
async fn create_services ( ) -> ( Arc < Mutex < ServiceRegistry > > , FakeServices ) { let service_registry = ServiceRegistry :: create ( ) ; let camera3_service_handle = Arc :: new ( Mutex :: new ( Camera3Service :: new ( ) ) ) ; service_registry . lock ( ) . await . register_service ( camera3_service_handle . clone ( ) ) ; ( service_registry , FakeServices { camera3_service : camera3_service_handle } ) }
Returns a registry and input related services with which it is populated.
Returns a registry and input related services with which it is populated .