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> !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