pub trait JoinSender<T: Send + 'static> {
// Required method
fn send(
&self,
item: T,
) -> impl Future<Output = ExecutorResult<()>> + Send + '_;
}Expand description
The sending half of a join fan-in queue.
send may await when the queue is full (bounded backpressure).
Returns Err(QueueClosed) if the receiver has been dropped.
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.