pub enum FromHttpError {
Api(ApiError),
Deserialize(DeserializeError),
}
Variants§
Api(ApiError)
Deserialize(DeserializeError)
Trait Implementations§
Source§impl Debug for FromHttpError
impl Debug for FromHttpError
Source§impl Display for FromHttpError
impl Display for FromHttpError
Source§impl Error for FromHttpError
impl Error for FromHttpError
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<ApiError> for FromHttpError
impl From<ApiError> for FromHttpError
Source§impl From<DeserializeError> for FromHttpError
impl From<DeserializeError> for FromHttpError
Source§fn from(source: DeserializeError) -> Self
fn from(source: DeserializeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromHttpError
impl !RefUnwindSafe for FromHttpError
impl Send for FromHttpError
impl Sync for FromHttpError
impl Unpin for FromHttpError
impl !UnwindSafe for FromHttpError
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