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