referrerpolicy=no-referrer-when-downgrade
pub fn single_item_sink<T>() -> (SingleItemSink<T>, SingleItemStream<T>)
Expand description

Create a single-item Sink/Stream pair.

The sink’s send methods resolve at the point which the stream reads the item, not when the item is buffered.