pub enum HttpRangeError {
UnsupportedUnit,
MultipleRangesUnsupported,
Malformed,
InvalidNumber,
EmptyRepresentation,
Unsatisfiable,
}Expand description
Stable failure categories for a single byte-range request.
Variants§
UnsupportedUnit
MultipleRangesUnsupported
Malformed
InvalidNumber
EmptyRepresentation
Unsatisfiable
Trait Implementations§
Source§impl Clone for HttpRangeError
impl Clone for HttpRangeError
Source§fn clone(&self) -> HttpRangeError
fn clone(&self) -> HttpRangeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpRangeError
impl Debug for HttpRangeError
Source§impl Display for HttpRangeError
impl Display for HttpRangeError
Source§impl Error for HttpRangeError
impl Error for HttpRangeError
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 HttpRangeError
impl PartialEq for HttpRangeError
Source§fn eq(&self, other: &HttpRangeError) -> bool
fn eq(&self, other: &HttpRangeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HttpRangeError
impl Eq for HttpRangeError
impl StructuralPartialEq for HttpRangeError
Auto Trait Implementations§
impl Freeze for HttpRangeError
impl RefUnwindSafe for HttpRangeError
impl Send for HttpRangeError
impl Sync for HttpRangeError
impl Unpin for HttpRangeError
impl UnsafeUnpin for HttpRangeError
impl UnwindSafe for HttpRangeError
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