FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservableCore

    trait · ferroui-reactive · v0.5.0

    trait ObservableCore<T>
    

    The subscription of an ObservableBase (the abstract member SubscribeCore of ObservableBase<T>).

    View source

    Members

    subscribe_core

    fn subscribe_core(self: &Self, observer: Rc<dyn IObserver<T>>) -> Result<Rc<dyn IDisposable>, ObservableError>
    

    Subscribes observer and returns the disposable that ends the subscription (SubscribeCore); an Err is the exception upstream's SubscribeCore throws, which is delivered to the observer as its error.

    Source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.