WeakObserverSubscription
struct · ferroui-base · v0.5.0
struct WeakObserverSubscription<T>
A subscription that holds its observer weakly and ends itself once the observer is gone.
Members
subscribe
fn subscribe(observable: &dyn IObservable<T>, observer: &Rc<dyn IObserver<T>>) -> Rc<dyn IDisposable>
Subscribes observer to observable without keeping the observer
alive.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherIObserver<T>IDisposable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.