pub struct InvalidOrderedRange { /* private fields */ }Expand description
An error that may occur when creating an OrderedRange with start < end.
Trait Implementations§
Source§impl Clone for InvalidOrderedRange
impl Clone for InvalidOrderedRange
Source§fn clone(&self) -> InvalidOrderedRange
fn clone(&self) -> InvalidOrderedRange
Returns a duplicate 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 InvalidOrderedRange
impl Debug for InvalidOrderedRange
Source§impl Display for InvalidOrderedRange
impl Display for InvalidOrderedRange
Source§impl Error for InvalidOrderedRange
impl Error for InvalidOrderedRange
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 From<InvalidOrderedRange> for InvalidBound
impl From<InvalidOrderedRange> for InvalidBound
Source§fn from(source: InvalidOrderedRange) -> Self
fn from(source: InvalidOrderedRange) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOrderedRange> for ParseHttpRangeOrContentRangeError
impl From<InvalidOrderedRange> for ParseHttpRangeOrContentRangeError
Source§fn from(source: InvalidOrderedRange) -> Self
fn from(source: InvalidOrderedRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidOrderedRange
impl PartialEq for InvalidOrderedRange
impl Eq for InvalidOrderedRange
impl StructuralPartialEq for InvalidOrderedRange
Auto Trait Implementations§
impl Freeze for InvalidOrderedRange
impl RefUnwindSafe for InvalidOrderedRange
impl Send for InvalidOrderedRange
impl Sync for InvalidOrderedRange
impl Unpin for InvalidOrderedRange
impl UnwindSafe for InvalidOrderedRange
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