driver_connector/lib.rs
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.
4
5use anyhow::Result;
6use {
7 fidl_fuchsia_driver_development as fdd, fidl_fuchsia_driver_registrar as fdr,
8 fidl_fuchsia_test_manager as ftm,
9};
10
11#[async_trait::async_trait]
12pub trait DriverConnector {
13 async fn get_driver_development_proxy(&self, select: bool) -> Result<fdd::ManagerProxy>;
14 async fn get_driver_registrar_proxy(&self, select: bool) -> Result<fdr::DriverRegistrarProxy>;
15 async fn get_suite_runner_proxy(&self) -> Result<ftm::SuiteRunnerProxy>;
16}