Enum pyo3_pack::UploadError [−][src]
pub enum UploadError {
RewqestError(Error),
AuthenticationError,
IOError(Error),
StatusCodeError(String),
}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
AuthenticationErrorThe registry returned a "403 Forbidden"
IOError(Error)Reading the wheel failed
StatusCodeError(String)The registry returned something else than 200
Trait Implementations
impl Debug for UploadError[src]
impl Debug for UploadErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for UploadError[src]
impl From<Error> for UploadErrorimpl From<Error> for UploadError[src]
impl From<Error> for UploadErrorAuto Trait Implementations
impl Send for UploadError
impl Send for UploadErrorimpl Sync for UploadError
impl Sync for UploadError