pub struct UnsatisfiableRange(/* private fields */);Expand description
An unsatisfiable range request.
If the axum feature is enabled this struct also implements IntoResponse.
Implementations§
Source§impl UnsatisfiableRange
impl UnsatisfiableRange
Sourcepub fn header(&self) -> HttpContentRange
pub fn header(&self) -> HttpContentRange
Returns the HttpContentRange header.
Trait Implementations§
Source§impl Clone for UnsatisfiableRange
impl Clone for UnsatisfiableRange
Source§fn clone(&self) -> UnsatisfiableRange
fn clone(&self) -> UnsatisfiableRange
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 UnsatisfiableRange
impl Debug for UnsatisfiableRange
Source§impl IntoResponse for UnsatisfiableRange
Available on crate feature axum only.
impl IntoResponse for UnsatisfiableRange
Available on crate feature
axum only.Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Source§impl PartialEq for UnsatisfiableRange
impl PartialEq for UnsatisfiableRange
impl Eq for UnsatisfiableRange
impl StructuralPartialEq for UnsatisfiableRange
Auto Trait Implementations§
impl Freeze for UnsatisfiableRange
impl RefUnwindSafe for UnsatisfiableRange
impl Send for UnsatisfiableRange
impl Sync for UnsatisfiableRange
impl Unpin for UnsatisfiableRange
impl UnwindSafe for UnsatisfiableRange
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