pub struct SortException { /* private fields */ }Expand description
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.
Implementations§
Source§impl SortException
impl SortException
Sourcepub fn with_inner(message: impl Into<String>, inner: ObservableError) -> Self
pub fn with_inner(message: impl Into<String>, inner: ObservableError) -> Self
An error with message, caused by inner (SortException(string, Exception)).
Sourcepub fn into_error(self) -> ObservableError
pub fn into_error(self) -> ObservableError
The error as the error of a sequence.
Trait Implementations§
Source§impl Clone for SortException
impl Clone for SortException
Source§impl Debug for SortException
impl Debug for SortException
Source§impl Default for SortException
impl Default for SortException
Source§impl Display for SortException
impl Display for SortException
Source§impl Error for SortException
impl Error for SortException
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for SortException
impl !Send for SortException
impl !Sync for SortException
impl !UnwindSafe for SortException
impl Freeze for SortException
impl Unpin for SortException
impl UnsafeUnpin for SortException
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more