pub enum OrderError {
InvalidBounds,
Exhausted,
}Expand description
A requested insertion cannot be represented between its supplied bounds.
Variants§
InvalidBounds
Bounds must be valid and the left one strictly precede the right one.
Exhausted
A pathological sequence of insertions exhausted the bounded portable representation.
Trait Implementations§
Source§impl Clone for OrderError
impl Clone for OrderError
Source§impl Debug for OrderError
impl Debug for OrderError
Source§impl Display for OrderError
impl Display for OrderError
impl Eq for OrderError
Source§impl Error for OrderError
impl Error for OrderError
1.30.0 · 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()
Source§impl PartialEq for OrderError
impl PartialEq for OrderError
impl StructuralPartialEq for OrderError
Auto Trait Implementations§
impl Freeze for OrderError
impl RefUnwindSafe for OrderError
impl Send for OrderError
impl Sync for OrderError
impl Unpin for OrderError
impl UnsafeUnpin for OrderError
impl UnwindSafe for OrderError
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