Trait JoinSetExt
pub trait JoinSetExt<T>: Sealed {
// Required methods
fn spawn_traced<F>(&mut self, future: F) -> AbortHandle
where F: Future<Output = T> + Send + 'static,
T: Send + 'static;
fn spawn_traced_on<F>(&mut self, future: F, runtime: &Handle) -> AbortHandle
where F: Future<Output = T> + Send + 'static,
T: Send + 'static;
}Available on crate feature
dial9 only.Expand description
Dial9 instrumentation for [JoinSet].
Required Methods§
fn spawn_traced<F>(&mut self, future: F) -> AbortHandle
fn spawn_traced<F>(&mut self, future: F) -> AbortHandle
Spawn a task into this set with dial9 instrumentation.
fn spawn_traced_on<F>(&mut self, future: F, runtime: &Handle) -> AbortHandle
fn spawn_traced_on<F>(&mut self, future: F, runtime: &Handle) -> AbortHandle
Spawn a task into this set on runtime with dial9 instrumentation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".