1 2 3 4 5 6 7
use futures::Sink; pub trait IntoSink { type Sink: Sink; fn into_sink(self) -> Self::Sink; }