Enum rustup_available_packages::Error[][src]

pub enum Error {
    TomlDe(ErrorString),
    TomlSer(ErrorString),
    Reqwest(ErrorString),
    BadResponse(StatusCodeString),
    Io(ErrorString),
}

An error that might happen inside the library.

Variants

TOML parsing error.

TOML serialization error.

Error in the reqwest library.

Got a bad HTTP response.

I/O error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<(Error, String)> for Error
[src]

Performs the conversion.

impl From<(Error, String)> for Error
[src]

Performs the conversion.

impl From<(Error, String)> for Error
[src]

Performs the conversion.

impl From<(StatusCode, String)> for Error
[src]

Performs the conversion.

impl From<(Error, String)> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error