pub enum ResponseError {
Io(Error),
InvalidUrl,
UnsupportedScheme,
Cancelled,
ThreadPanicked,
CommandFailed {
program: &'static str,
exit_code: Option<i32>,
stderr: String,
},
BadStatusCode(String),
GzipFailed {
exit_code: Option<i32>,
stderr: String,
},
Start(StartError),
}Variants§
Io(Error)
InvalidUrl
UnsupportedScheme
Cancelled
ThreadPanicked
CommandFailed
BadStatusCode(String)
GzipFailed
Start(StartError)
Trait Implementations§
Source§impl Debug for ResponseError
impl Debug for ResponseError
Auto Trait Implementations§
impl Freeze for ResponseError
impl !RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnsafeUnpin for ResponseError
impl !UnwindSafe for ResponseError
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