Enum maturin::UploadError [−][src]
pub enum UploadError { RewqestError(Error), AuthenticationError, IoError(Error), StatusCodeError(String, String), FileExistsError(String), PkgInfoError(PathBuf, Error), }
Expand description
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
Any reqwest error
Tuple Fields of RewqestError
0: Error
The registry returned a “403 Forbidden”
Reading the wheel failed
Tuple Fields of IoError
0: Error
The registry returned something else than 200
File already exists
Tuple Fields of FileExistsError
0: String
Read package metadata error