pub enum GegenDataError {
Reqwest {
source: Error,
url: String,
},
TooManyRequests {
url: String,
},
Non200 {
status_code: StatusCode,
url: String,
body: String,
},
Serialisation {
source: Error,
url: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for GegenDataError
impl Debug for GegenDataError
Source§impl Display for GegenDataError
impl Display for GegenDataError
Source§impl Error for GegenDataError
impl Error for GegenDataError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for GegenDataError
impl !UnwindSafe for GegenDataError
impl Freeze for GegenDataError
impl Send for GegenDataError
impl Sync for GegenDataError
impl Unpin for GegenDataError
impl UnsafeUnpin for GegenDataError
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