Enum rustli::fetch::FetchError
[−]
[src]
pub enum FetchError { CouldNotResolveHost(ErrorCode), HttpError(ErrorCode), Other(ErrorCode), CurlRead, Io(Error), Json(String), Utf8Error(FromUtf8Error), }
Variants
CouldNotResolveHost(ErrorCode)
HttpError(ErrorCode)
Other(ErrorCode)
CurlRead
Io(Error)
Json(String)
Utf8Error(FromUtf8Error)
Trait Implementations
impl Debug for FetchError
[src]
impl From<Error> for FetchError
[src]
Do not pass the Curl errors through in order to allow more flexibility in picking a library.
fn from(err: Error) -> FetchError
Performs the conversion.
impl From<ReadError> for FetchError
[src]
fn from(_: ReadError) -> FetchError
Performs the conversion.
impl From<Error> for FetchError
[src]
fn from(err: Error) -> FetchError
Performs the conversion.
impl From<Error> for FetchError
[src]
fn from(err: Error) -> FetchError
Performs the conversion.
impl From<FromUtf8Error> for FetchError
[src]
fn from(err: FromUtf8Error) -> FetchError
Performs the conversion.