Enum crates_io::Error [] [src]

pub enum Error {
    Curl(Error),
    NotOkResponse(u32Vec<String>, Vec<u8>),
    NonUtf8Body,
    Api(Vec<String>),
    Unauthorized,
    TokenMissing,
    Io(Error),
    NotFound,
    JsonEncodeError(EncoderError),
    JsonDecodeError(DecoderError),
}

Variants

Trait Implementations

impl From<EncoderError> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.