pub enum OutOfOrder {
Duplicate,
NoDefinedComparison,
Reversed,
}
Expand description
Some elements in a supposedly sorted iterator were not sorted.
Variants§
Duplicate
Two adjacent elements compared as equal (iff this was explicitly disallowed).
NoDefinedComparison
Two adjacent elements could not be compared.
Reversed
Two adjacent elements compared in decreasing order.
Trait Implementations§
Source§impl Clone for OutOfOrder
impl Clone for OutOfOrder
Source§fn clone(&self) -> OutOfOrder
fn clone(&self) -> OutOfOrder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OutOfOrder
impl Debug for OutOfOrder
Source§impl Display for OutOfOrder
impl Display for OutOfOrder
Source§impl Hash for OutOfOrder
impl Hash for OutOfOrder
Source§impl Ord for OutOfOrder
impl Ord for OutOfOrder
Source§fn cmp(&self, other: &OutOfOrder) -> Ordering
fn cmp(&self, other: &OutOfOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutOfOrder
impl PartialEq for OutOfOrder
Source§impl PartialOrd for OutOfOrder
impl PartialOrd for OutOfOrder
impl Copy for OutOfOrder
impl Eq for OutOfOrder
impl StructuralPartialEq for OutOfOrder
Auto Trait Implementations§
impl Freeze for OutOfOrder
impl RefUnwindSafe for OutOfOrder
impl Send for OutOfOrder
impl Sync for OutOfOrder
impl Unpin for OutOfOrder
impl UnwindSafe for OutOfOrder
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