pub fn from_sink<S, I>(sink: S) -> FromSink<S, I>where S: Sink<I> + Unpin + Send, I: Send, S::Error: Send,
Create FromSink object which implements Transmit trait from an object which implements futures::sink::Sink.
FromSink
Transmit
futures::sink::Sink