FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Error

    struct · ferroui-dynamic-data · v0.5.0

    struct Error<T, K>
    

    An item that an operator could not handle, with its key and the error it raised (Error<TObject, TKey>): what the error handler of TransformSafe receives.

    View source

    Members

    new

    fn new(exception: Option<ObservableError>, value: T, key: K) -> Self
    

    Error(Exception?, TObject value, TKey key).

    Source

    exception

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

    The error (Exception).

    Source

    key

    fn key(self: &Self) -> &K
    

    The key of the item (Key).

    Source

    value

    fn value(self: &Self) -> &T
    

    The item (Value).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • Equivalent<K>
    • Clone
    • PartialEq
    • Eq
    • Hash
    • Display
    • Debug

    Availability

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