FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    UnhandledInteractionError

    struct · ferroui-reactiveui · v0.5.0

    struct UnhandledInteractionError<I, O>
    

    The error of an interaction that no handler handled (UnhandledInteractionException<TInput, TOutput>).

    View source

    Members

    new

    fn new(interaction: Interaction<I, O>, input: I) -> Self
    

    The error of interaction, which no handler handled for input (UnhandledInteractionException(Interaction<TInput, TOutput>, TInput)).

    Source

    empty

    fn empty() -> Self
    

    An error without an interaction (UnhandledInteractionException()), with the default message of an exception. The message names the type as it was named before 0.5 (UnhandledInteractionException), so that it stays the same.

    Source

    with_message

    fn with_message(message: impl Into<String>) -> Self
    

    An error with message (UnhandledInteractionException(string)).

    Source

    with_inner

    fn with_inner(message: impl Into<String>, inner_exception: ObservableError) -> Self
    

    An error with message, caused by inner_exception (UnhandledInteractionException(string, Exception)).

    Source

    message

    fn message(self: &Self) -> &str
    

    The message (Message).

    Source

    inner_exception

    fn inner_exception(self: &Self) -> Option<&ObservableError>
    

    The error that caused this one (InnerException).

    Source

    interaction

    fn interaction(self: &Self) -> Option<&Interaction<I, O>>
    

    The interaction that no handler handled, if the error names one (Interaction).

    Source

    input

    fn input(self: &Self) -> Option<&I>
    

    The input of the interaction that no handler handled, if the error names one (Input; default upstream when it does not).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToString
    • Default
    • Debug
    • Display
    • Error

    Availability

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