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)
Any reqwest error
Tuple Fields of RewqestError
0: Error
The registry returned a “403 Forbidden”
IoError(Error)
Reading the wheel failed
Tuple Fields of IoError
0: Error
The registry returned something else than 200
FileExistsError(String)
File already exists
Tuple Fields of FileExistsError
0: String
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