pub enum FetchErrorKind {
Timeout,
ConnectionRefused,
DnsResolution,
TooManyRedirects,
TlsError,
RateLimited,
ServerError,
ClientError,
NetworkError,
InvalidUrl,
Unknown,
}Variants§
Timeout
ConnectionRefused
DnsResolution
TooManyRedirects
TlsError
RateLimited
ServerError
ClientError
NetworkError
InvalidUrl
Unknown
Trait Implementations§
Source§impl Clone for FetchErrorKind
impl Clone for FetchErrorKind
Source§fn clone(&self) -> FetchErrorKind
fn clone(&self) -> FetchErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FetchErrorKind
impl Debug for FetchErrorKind
Source§impl PartialEq for FetchErrorKind
impl PartialEq for FetchErrorKind
impl StructuralPartialEq for FetchErrorKind
Auto Trait Implementations§
impl Freeze for FetchErrorKind
impl RefUnwindSafe for FetchErrorKind
impl Send for FetchErrorKind
impl Sync for FetchErrorKind
impl Unpin for FetchErrorKind
impl UnsafeUnpin for FetchErrorKind
impl UnwindSafe for FetchErrorKind
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