pub fn drain<T>() -> Drain<T> {
    assert_sink::<T, Infallible, _>(Drain { marker: PhantomData })
}
Create a sink that will just discard all items given to it.

Similar to [`io::Sink`](::std::io::Sink).

# Examples

```
# futures::executor::block_on(async {
use futures::sink::{self, SinkExt};

let mut drain = sink::drain();
drain.send(5).await?;
# Ok::<(), std::convert::Infallible>(()) }).unwrap();
```
futures-util/src/sink/drain.rs