Skip to main content

JoinReceiver

Trait JoinReceiver 

Source
pub trait JoinReceiver<T: Send + 'static> {
    // Required method
    fn recv(&mut self) -> impl Future<Output = ExecutorResult<T>> + Send + '_;
}
Expand description

The receiving half of a join fan-in queue.

Returns Err(QueueClosed) when all senders have been dropped.

Required Methods§

Source

fn recv(&mut self) -> impl Future<Output = ExecutorResult<T>> + Send + '_

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.

Implementors§