pub trait Receiver<T: Send>: Send {
// Required method
fn receive<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Option<T>> + Send + 'async_trait>>
where Self: 'async_trait;
}pub trait Receiver<T: Send>: Send {
// Required method
fn receive<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Option<T>> + Send + 'async_trait>>
where Self: 'async_trait;
}