pub enum IGDBApiError {
AuthError(JSONParsingError),
ApiResponseDecodeError(DecodeError),
Request(Error),
Unknown,
}
Variants§
Trait Implementations§
Source§impl Debug for IGDBApiError
impl Debug for IGDBApiError
Source§impl Display for IGDBApiError
impl Display for IGDBApiError
Source§impl Error for IGDBApiError
impl Error for IGDBApiError
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<DecodeError> for IGDBApiError
impl From<DecodeError> for IGDBApiError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for IGDBApiError
impl From<Error> for IGDBApiError
Source§impl From<JSONParsingError> for IGDBApiError
impl From<JSONParsingError> for IGDBApiError
Source§fn from(value: JSONParsingError) -> Self
fn from(value: JSONParsingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IGDBApiError
impl !RefUnwindSafe for IGDBApiError
impl Send for IGDBApiError
impl Sync for IGDBApiError
impl Unpin for IGDBApiError
impl !UnwindSafe for IGDBApiError
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