Struct datafusion::physical_plan::common::AbortOnDropMany
source · [−]pub struct AbortOnDropMany<T>(pub Vec<JoinHandle<T>>);
Expand description
Helper that aborts the given join handles on drop.
Useful to kill background tasks when the consumer is dropped.
Tuple Fields
0: Vec<JoinHandle<T>>
Trait Implementations
sourceimpl<T: Debug> Debug for AbortOnDropMany<T>
impl<T: Debug> Debug for AbortOnDropMany<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for AbortOnDropMany<T>
impl<T> Send for AbortOnDropMany<T> where
T: Send,
impl<T> Sync for AbortOnDropMany<T> where
T: Send,
impl<T> Unpin for AbortOnDropMany<T>
impl<T> UnwindSafe for AbortOnDropMany<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more