pub struct ConnectedMultiConnection<I, O, C: Decoder<Item = I> + Encoder<O>> {
pub source: MultiConnectionSource<I, O, C>,
pub sink: MultiConnectionSink<O, C>,
pub membership: UnboundedReceiverStream<(u64, bool)>,
}Fields§
§source: MultiConnectionSource<I, O, C>§sink: MultiConnectionSink<O, C>§membership: UnboundedReceiverStream<(u64, bool)>Trait Implementations§
Auto Trait Implementations§
impl<I, O, C> !Freeze for ConnectedMultiConnection<I, O, C>
impl<I, O, C> !RefUnwindSafe for ConnectedMultiConnection<I, O, C>
impl<I, O, C> Send for ConnectedMultiConnection<I, O, C>
impl<I, O, C> Sync for ConnectedMultiConnection<I, O, C>
impl<I, O, C> Unpin for ConnectedMultiConnection<I, O, C>
impl<I, O, C> UnsafeUnpin for ConnectedMultiConnection<I, O, C>
impl<I, O, C> !UnwindSafe for ConnectedMultiConnection<I, O, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> ToSinkBuild for T
impl<T> ToSinkBuild for T
§fn iter_to_sink_build(self) -> SendIterBuild<Self>
fn iter_to_sink_build(self) -> SendIterBuild<Self>
§fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
fn stream_to_sink_build(self) -> SendStreamBuild<Self>where
Self: Sized + Stream,
Starts a [
SinkBuild] adaptor chain to send all items from self as a [Stream].