Skip to main content

driver_manager_types/
lib.rs

1// Copyright 2026 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 fidl_fuchsia_component_runner as frunner;
6use futures::channel::mpsc;
7
8mod bind_result;
9mod bind_result_tracker;
10mod conversions;
11mod node_types;
12
13pub use bind_result::*;
14pub use bind_result_tracker::*;
15pub use conversions::*;
16pub use node_types::*;
17
18pub struct StartedComponent {
19    pub info: frunner::ComponentStartInfo,
20    pub controller: fidl::endpoints::ServerEnd<frunner::ComponentControllerMarker>,
21}
22
23pub type StartRequest = mpsc::Sender<Result<StartedComponent, zx::Status>>;
24
25pub type StartRequestReceiver = mpsc::Receiver<Result<StartedComponent, zx::Status>>;