Trait hydroflow::util::deploy::ConnectedSink

source ·
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

source§

type Input = Bytes

source§

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

source§

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