FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObserverCore

    trait · ferroui-reactive · v0.5.0

    trait ObserverCore<T>
    

    The handlers of an ObserverBase (the abstract members OnNextCore, OnErrorCore and OnCompletedCore of ObserverBase<T>).

    View source

    Members

    on_next_core

    fn on_next_core(self: &Self, value: T)
    

    Handles a value (OnNextCore).

    Source

    on_error_core

    fn on_error_core(self: &Self, error: ObservableError)
    

    Handles the error that ends the sequence (OnErrorCore).

    Source

    on_completed_core

    fn on_completed_core(self: &Self)
    

    Handles the end of the sequence (OnCompletedCore).

    Source

    Availability

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