SequenceError
enum · ferroui-reactive · v0.5.0
enum SequenceError
The error an aggregate operator ends its sequence with when the sequence does not have the
shape the operator needs (the exceptions upstream's operators throw into OnError).
Members
NoElementsNoMatchingElementsMoreThanOneElementMoreThanOneMatchingElementOverflowDuplicateKeyis_invalid_operation
NoElements
NoElements
The sequence has no elements (InvalidOperationException with Strings_Linq.NO_ELEMENTS).
NoMatchingElements
NoMatchingElements
No element of the sequence satisfies the predicate (InvalidOperationException with
Strings_Linq.NO_MATCHING_ELEMENTS).
MoreThanOneElement
MoreThanOneElement
The sequence has more than one element (InvalidOperationException with
Strings_Linq.MORE_THAN_ONE_ELEMENT).
MoreThanOneMatchingElement
MoreThanOneMatchingElement
More than one element satisfies the predicate (InvalidOperationException with
Strings_Linq.MORE_THAN_ONE_MATCHING_ELEMENT).
Overflow
Overflow
A count does not fit its type (OverflowException of the checked counts).
DuplicateKey
DuplicateKey
Two elements have the same key (ArgumentException of Dictionary<TKey, TValue>.Add).
is_invalid_operation
fn is_invalid_operation(self: &Self) -> bool
Whether the error is one of upstream's InvalidOperationExceptions (the sequence has no
element, no matching element, or more than one).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringCloneCopyDebugStructuralPartialEqPartialEqEqHashDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.