pub enum UnexpectedHttpError<E> {
Request(RequestError),
Api(E),
}
Variants§
Request(RequestError)
Api(E)
Trait Implementations§
Source§impl<E: Clone> Clone for UnexpectedHttpError<E>
impl<E: Clone> Clone for UnexpectedHttpError<E>
Source§fn clone(&self) -> UnexpectedHttpError<E>
fn clone(&self) -> UnexpectedHttpError<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E: Debug> Debug for UnexpectedHttpError<E>
impl<E: Debug> Debug for UnexpectedHttpError<E>
Source§impl<T> From<Error> for UnexpectedHttpError<T>
impl<T> From<Error> for UnexpectedHttpError<T>
Auto Trait Implementations§
impl<E> Freeze for UnexpectedHttpError<E>where
E: Freeze,
impl<E> RefUnwindSafe for UnexpectedHttpError<E>where
E: RefUnwindSafe,
impl<E> Send for UnexpectedHttpError<E>where
E: Send,
impl<E> Sync for UnexpectedHttpError<E>where
E: Sync,
impl<E> Unpin for UnexpectedHttpError<E>where
E: Unpin,
impl<E> UnwindSafe for UnexpectedHttpError<E>where
E: 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