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§
source§impl<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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more