// Copyright 2019-2026 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
usetokio::task::AbortHandle;/// Holds a collection of [`AbortHandle`] and aborts them automatically on drop
#[derive(Default, derive_more::Deref, derive_more::DerefMut)]pubstructAbortHandles(Vec<AbortHandle>);implDrop forAbortHandles{fndrop(&mutself){for handle inself.iter(){
handle.abort();}}}