Enum maturin::UploadError[][src]

pub enum UploadError {
    RewqestError(Error),
    AuthenticationError,
    IOError(Error),
    StatusCodeError(StringString),
    FileExistsError(String),
}

Error type for different types of errors that can happen when uploading a wheel.

The most interesting type is AuthenticationError because it allows asking the user to reenter the password

Variants

RewqestError(Error)

Any reqwest error

AuthenticationError

The registry returned a “403 Forbidden”

IOError(Error)

Reading the wheel failed

StatusCodeError(StringString)

The registry returned something else than 200

FileExistsError(String)

File already exists

Trait Implementations

impl Debug for UploadError[src]

impl Display for UploadError[src]

impl Error for UploadError[src]

impl From<Error> for UploadError[src]

impl From<Error> for UploadError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,