pub struct ConnectedMultiConnection<I, O, C>where
C: Decoder<Item = I> + Encoder<O>,{
pub source: MultiConnectionSource<I, O, C>,
pub sink: MultiConnectionSink<O, C>,
pub membership: UnboundedReceiverStream<(u64, bool)>,
}
Available on crate feature
deploy_integration
only.Fields§
§source: MultiConnectionSource<I, O, C>
§sink: MultiConnectionSink<O, C>
§membership: UnboundedReceiverStream<(u64, bool)>
Trait Implementations§
Source§impl<I, O, C> Connected for ConnectedMultiConnection<I, O, C>
impl<I, O, C> Connected for ConnectedMultiConnection<I, O, C>
fn from_defn(pipe: Connection) -> ConnectedMultiConnection<I, O, C>
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> !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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more