pub trait Disposable {
// Provided methods
fn into_event(self) -> DisposableEvent<Self>
where Self: Sized { ... }
fn merge<U>(self, other: U) -> Merge<Self, U>
where Self: Sized,
U: Disposable { ... }
fn into_boxed(self) -> DisposableBox
where Self: Sized + Clone + 'static { ... }
}Expand description
The computation that disposes the observable subscription.
Provided Methods§
Sourcefn into_event(self) -> DisposableEvent<Self>where
Self: Sized,
fn into_event(self) -> DisposableEvent<Self>where
Self: Sized,
Convert to the Event computation.
Sourcefn merge<U>(self, other: U) -> Merge<Self, U>where
Self: Sized,
U: Disposable,
fn merge<U>(self, other: U) -> Merge<Self, U>where
Self: Sized,
U: Disposable,
Merge with another Disposable computation.
Sourcefn into_boxed(self) -> DisposableBox
fn into_boxed(self) -> DisposableBox
Convert into a boxed representation.