FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SortError

    struct · ferroui-dynamic-data · v0.5.0

    struct SortError
    

    The error of a sort that cannot find the position of an item (SortException): a comparer that does not give a unique position to each item while a binary search is asked for, or an item that is not in the sorted collection. The operators end their sequence with it, as an exception thrown in an operator of upstream reaches OnError.

    View source

    Members

    new

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

    An error with message (SortException(string)).

    Source

    with_inner

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

    An error with message, caused by inner (SortException(string, Exception)).

    Source

    message

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

    The message (Message).

    Source

    into_error

    fn into_error(self: Self) -> ObservableError
    

    The error as the error of a sequence.

    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
    • Clone
    • Debug
    • Default
    • Display
    • Error

    Availability

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