pub enum FetchError {
Transport(Error),
Status(u16),
}Expand description
Error returned by fetch_page.
Variants§
Transport(Error)
HTTP request or body read failed (network, timeout, DNS, etc.).
Status(u16)
Server returned a non-200 status code.
Trait Implementations§
Source§impl Debug for FetchError
impl Debug for FetchError
Auto Trait Implementations§
impl Freeze for FetchError
impl !RefUnwindSafe for FetchError
impl Send for FetchError
impl Sync for FetchError
impl Unpin for FetchError
impl UnsafeUnpin for FetchError
impl !UnwindSafe for FetchError
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