Open stevefan1999-personal opened 1 year ago
That same requirement definitely exists on futures::channel::mpsc::Sender
: the channel has the capacity to send data between threads, so that data must be thread-safe. It might be that the requirement is simply on an impl in futures
, but it'll still be there.
This is what ChannelError looks like:
So it seems like I have to limit the bound of SinkItem to Send + Sync? but far as I know futures::channel::mpsc::Sender does not require that