pub trait Sink<Item> {
fn send(
&self,
item: Item
) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + '_>>;
fn try_send(&self, item: Item) -> Result<(), TrySendError>;
}
pub trait Sink<Item> {
fn send(
&self,
item: Item
) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + '_>>;
fn try_send(&self, item: Item) -> Result<(), TrySendError>;
}