Enum rustli::fetch::FetchError [] [src]

pub enum FetchError {
    CouldNotResolveHost(ErrorCode),
    HttpError(ErrorCode),
    Other(ErrorCode),
    CurlRead,
    Io(Error),
    Json(String),
    Utf8Error(FromUtf8Error),
}

Variants

Trait Implementations

impl Debug for FetchError
[src]

Formats the value using the given formatter.

impl From<Error> for FetchError
[src]

Do not pass the Curl errors through in order to allow more flexibility in picking a library.

Performs the conversion.

impl From<ReadError> for FetchError
[src]

Performs the conversion.

impl From<Error> for FetchError
[src]

Performs the conversion.

impl From<Error> for FetchError
[src]

Performs the conversion.

impl From<FromUtf8Error> for FetchError
[src]

Performs the conversion.