1// Copyright 2022 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
45use anyhow::Result;
6use {
7 fidl_fuchsia_driver_development as fdd, fidl_fuchsia_driver_playground as fdp,
8 fidl_fuchsia_driver_registrar as fdr, fidl_fuchsia_io as fio, fidl_fuchsia_test_manager as ftm,
9};
1011#[async_trait::async_trait]
12pub trait DriverConnector {
13async fn get_driver_development_proxy(&self, select: bool) -> Result<fdd::ManagerProxy>;
14async fn get_dev_proxy(&self, select: bool) -> Result<fio::DirectoryProxy>;
15async fn get_driver_registrar_proxy(&self, select: bool) -> Result<fdr::DriverRegistrarProxy>;
16async fn get_tool_runner_proxy(&self, select: bool) -> Result<fdp::ToolRunnerProxy>;
17async fn get_run_builder_proxy(&self) -> Result<ftm::RunBuilderProxy>;
18}