Struct rxrust::subscription::ZipSubscription
source · pub struct ZipSubscription<A, B> { /* private fields */ }Implementations§
source§impl<A: Subscription, B: Subscription> ZipSubscription<A, B>
impl<A: Subscription, B: Subscription> ZipSubscription<A, B>
Trait Implementations§
source§impl<U: Subscription, H: Subscription> Subscription for ZipSubscription<H, U>
impl<U: Subscription, H: Subscription> Subscription for ZipSubscription<H, U>
source§fn unsubscribe(self)
fn unsubscribe(self)
This allows deregistering an stream before it has finished receiving all
events (i.e. before onCompleted is called).
source§fn unsubscribe_when_dropped(self) -> SubscriptionGuard<Self>where
Self: Sized,
fn unsubscribe_when_dropped(self) -> SubscriptionGuard<Self>where Self: Sized,
Activates “RAII” behavior for this subscription. That means
unsubscribe() will be called automatically as soon as the returned
value goes out of scope. Read more