pub trait JoinSet<T>:
Stream<Item = T>
+ Unpin
+ Send {
// Required methods
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn push<F>(&mut self, future: F)
where F: Future<Output = T> + Send + 'static,
F::Output: Send;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.