Trait rxrust::shared::SharedObservable [−][src]
pub trait SharedObservable: Observable {
type Unsub: SubscriptionLike + 'static;
fn actual_subscribe<O: Observer<Item = Self::Item, Err = Self::Err> + Sync + Send + 'static>(
self,
subscriber: Subscriber<O, SharedSubscription>
) -> Self::Unsub;
fn into_shared(self) -> Shared<Self>
where
Self: Sized,
{ ... }
}
Associated Types
type Unsub: SubscriptionLike + 'static
Required methods
fn actual_subscribe<O: Observer<Item = Self::Item, Err = Self::Err> + Sync + Send + 'static>(
self,
subscriber: Subscriber<O, SharedSubscription>
) -> Self::Unsub
Provided methods
Convert to a thread-safe mode.