pub enum SocrataError {
RequestError(Error),
ApiError(StatusCode, String),
ParseError(Error),
}Variants§
Trait Implementations§
Source§impl Debug for SocrataError
impl Debug for SocrataError
Source§impl Display for SocrataError
impl Display for SocrataError
Source§impl Error for SocrataError
impl Error for SocrataError
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<Error> for SocrataError
impl From<Error> for SocrataError
Auto Trait Implementations§
impl Freeze for SocrataError
impl !RefUnwindSafe for SocrataError
impl Send for SocrataError
impl Sync for SocrataError
impl Unpin for SocrataError
impl !UnwindSafe for SocrataError
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