pub struct MultiplexingSubscription<Runtime, T>{
pub stream_senders: Arc<MutexOf<Runtime, Option<Vec<<Runtime as HasChannelTypes>::Sender<T>>>>>,
}Fields§
§stream_senders: Arc<MutexOf<Runtime, Option<Vec<<Runtime as HasChannelTypes>::Sender<T>>>>>Trait Implementations§
Source§impl<Runtime, T> Clone for MultiplexingSubscription<Runtime, T>where
T: Async,
Runtime: HasChannelTypes + HasMutex + HasStreamType<Stream<T> = Pin<Box<dyn Stream<Item = T> + Send + Sync + 'static>>>,
impl<Runtime, T> Clone for MultiplexingSubscription<Runtime, T>where
T: Async,
Runtime: HasChannelTypes + HasMutex + HasStreamType<Stream<T> = Pin<Box<dyn Stream<Item = T> + Send + Sync + 'static>>>,
Source§impl<Runtime, T> Subscription for MultiplexingSubscription<Runtime, T>
impl<Runtime, T> Subscription for MultiplexingSubscription<Runtime, T>
Auto Trait Implementations§
impl<Runtime, T> Freeze for MultiplexingSubscription<Runtime, T>
impl<Runtime, T> RefUnwindSafe for MultiplexingSubscription<Runtime, T>where
<Runtime as HasMutex>::Mutex<Option<Vec<<Runtime as HasChannelTypes>::Sender<T>>>>: RefUnwindSafe,
impl<Runtime, T> Send for MultiplexingSubscription<Runtime, T>
impl<Runtime, T> Sync for MultiplexingSubscription<Runtime, T>
impl<Runtime, T> Unpin for MultiplexingSubscription<Runtime, T>
impl<Runtime, T> UnwindSafe for MultiplexingSubscription<Runtime, T>where
<Runtime as HasMutex>::Mutex<Option<Vec<<Runtime as HasChannelTypes>::Sender<T>>>>: RefUnwindSafe,
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