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
RewqestError(Error)
Tuple Fields
0: Error
Any reqwest error
AuthenticationError
The registry returned a “403 Forbidden”
IoError(Error)
Tuple Fields
0: Error
Reading the wheel failed
StatusCodeError(String, String)
The registry returned something else than 200
FileExistsError(String)
Tuple Fields
0: String
File already exists
PkgInfoError(PathBuf, Error)
Read package metadata error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UploadError
impl Send for UploadError
impl Sync for UploadError
impl Unpin for UploadError
impl !UnwindSafe for UploadError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more