FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ValidationErrors

    enum · ferroui-reactiveui · v0.5.0

    enum ValidationErrors
    

    What one validator of a reactive property reports (upstream's IEnumerable?), when it reports errors: None is no error.

    Deviation (DEVIATIONS.md, ReactiveUI): upstream's validators return an IEnumerable, which is a string for a message, since a string is an IEnumerable of characters, and the aggregate tells the two apart (is string). The two cases are the variants of this type, so the aggregate keeps upstream's order: the messages first, then the errors of the other validators.

    View source

    Members

    Message

    Message(String)
    

    An error message (a string validator result).

    Source

    Errors

    Errors(DataErrors)
    

    A collection of errors (any other IEnumerable).

    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
    • Clone
    • Debug

    Availability

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