[][src]Enum maturin::UploadError

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

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

The most interesting tpye 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

Trait Implementations

impl From<Error> for UploadError[src]

impl From<Error> for UploadError[src]

impl Display for UploadError[src]

impl Debug for UploadError[src]

impl Fail for UploadError[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> AsFail for T where
    T: Fail
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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