pub struct RangeNotSatisfiable<T = ()>(pub T);Expand description
416 Range Not Satisfiable
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for RangeNotSatisfiable<T>
impl<T: Clone> Clone for RangeNotSatisfiable<T>
Source§fn clone(&self) -> RangeNotSatisfiable<T>
fn clone(&self) -> RangeNotSatisfiable<T>
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 moreimpl<T: Copy> Copy for RangeNotSatisfiable<T>
Source§impl<T: Debug> Debug for RangeNotSatisfiable<T>
impl<T: Debug> Debug for RangeNotSatisfiable<T>
Source§impl<T: Default> Default for RangeNotSatisfiable<T>
impl<T: Default> Default for RangeNotSatisfiable<T>
Source§fn default() -> RangeNotSatisfiable<T>
fn default() -> RangeNotSatisfiable<T>
Returns the “default value” for a type. Read more
Source§impl<T> Deref for RangeNotSatisfiable<T>
impl<T> Deref for RangeNotSatisfiable<T>
Source§impl<T> DerefMut for RangeNotSatisfiable<T>
impl<T> DerefMut for RangeNotSatisfiable<T>
Source§impl<T, S> From<RangeNotSatisfiable<T>> for ApiResponse<S>where
S: Contains<RangeNotSatisfiable<T>>,
RangeNotSatisfiable<T>: StatusProvider<Inner: IntoResponse>,
impl<T, S> From<RangeNotSatisfiable<T>> for ApiResponse<S>where
S: Contains<RangeNotSatisfiable<T>>,
RangeNotSatisfiable<T>: StatusProvider<Inner: IntoResponse>,
Source§fn from(err: RangeNotSatisfiable<T>) -> Self
fn from(err: RangeNotSatisfiable<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<T> for RangeNotSatisfiable<T>
impl<T> From<T> for RangeNotSatisfiable<T>
Source§impl<T> StatusProvider for RangeNotSatisfiable<T>
impl<T> StatusProvider for RangeNotSatisfiable<T>
Source§const STATUS_CODE: StatusCode = StatusCode::RANGE_NOT_SATISFIABLE
const STATUS_CODE: StatusCode = StatusCode::RANGE_NOT_SATISFIABLE
The status code associated with type.
type WithInner<R> = RangeNotSatisfiable<R>
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Convert this status wrapper into its inner value.
Source§fn into_set<E>(self) -> ApiResponse<E>
fn into_set<E>(self) -> ApiResponse<E>
Convert this status wrapper into an [
ApiErrorSet] with the
given inner value type. (into can be used as well)Auto Trait Implementations§
impl<T> Freeze for RangeNotSatisfiable<T>where
T: Freeze,
impl<T> RefUnwindSafe for RangeNotSatisfiable<T>where
T: RefUnwindSafe,
impl<T> Send for RangeNotSatisfiable<T>where
T: Send,
impl<T> Sync for RangeNotSatisfiable<T>where
T: Sync,
impl<T> Unpin for RangeNotSatisfiable<T>where
T: Unpin,
impl<T> UnsafeUnpin for RangeNotSatisfiable<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RangeNotSatisfiable<T>where
T: UnwindSafe,
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