FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DispatcherUnhandledExceptionEventArgs

    struct · ferroui-base · v0.5.0

    struct DispatcherUnhandledExceptionEventArgs<'a>
    

    Provides data for the Dispatcher::unhandled_exception event.

    View source

    Members

    exception

    fn exception(self: &Self) -> &dyn Any + Send
    

    The panic payload that was raised while executing code by way of a dispatcher.

    Source

    exception_message

    fn exception_message(self: &Self) -> Option<&str>
    

    The panic message, when the payload is a string.

    Source

    handled

    fn handled(self: &Self) -> bool
    

    Whether the exception event has been handled.

    Source

    set_handled

    fn set_handled(self: &Self, value: bool)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • DispatcherEventArgs

    Availability

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