pub trait ConnectedSink {
    type Input: Send;
    type Sink: Sink<Self::Input, Error = Error> + Send + Sync;

    // Required method
    fn into_sink(self) -> Self::Sink;
}

Required Associated Types§

source

type Input: Send

source

type Sink: Sink<Self::Input, Error = Error> + Send + Sync

Required Methods§

source

fn into_sink(self) -> Self::Sink

Implementors§

source§

impl ConnectedSink for ConnectedDirect

§

type Input = Bytes

§

type Sink = Pin<Box<dyn Sink<Bytes, Error = Error> + Send + Sync, Global>>

source§

impl<T: ConnectedSink> ConnectedSink for ConnectedDemux<T>where <T as ConnectedSink>::Input: 'static + Sync,

§

type Input = (u32, <T as ConnectedSink>::Input)

§

type Sink = DemuxDrain<<T as ConnectedSink>::Input, Buffer<<T as ConnectedSink>::Sink, <T as ConnectedSink>::Input>>