pub enum Error {
HttpUrlEncode(Box<dyn Error>),
HttpGet(Box<dyn Error>),
ParseError(Error),
}Expand description
Crate-wide error type
Variants§
HttpUrlEncode(Box<dyn Error>)
Returned if client::Http::url_encode failed.
HttpGet(Box<dyn Error>)
Returned if client::Http::get failed.
ParseError(Error)
Returned if parsing a response failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl !Send for Error
impl !Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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