driver_manager_shutdown/node_remover.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 async_trait::async_trait;
6
7#[async_trait(?Send)]
8pub trait NodeRemover {
9 async fn shutdown_all_drivers(&self);
10 async fn shutdown_pkg_drivers(&self);
11 fn set_on_removal_timeout_callback(&self, callback: Box<dyn Fn()>);
12}