Enum ffsend_api::action::upload::UploadError [−][src]
pub enum UploadError {
Progress,
Request,
Response(ResponseError),
Decode(ReqwestError),
ParseUrl(UrlParseError),
}Variants
ProgressFailed to start or update the uploading progress, because of this the upload can't continue.
RequestSending the request to upload the file failed.
Response(ResponseError)The server responded with an error while uploading.
Decode(ReqwestError)Failed to decode the upload response from the server. Maybe the server responded with data from a newer API version.
ParseUrl(UrlParseError)Failed to parse the retrieved URL from the upload response.
Trait Implementations
impl From<UploadError> for Error[src]
impl From<UploadError> for Errorfn from(err: UploadError) -> Error[src]
fn from(err: UploadError) -> ErrorPerforms the conversion.
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<UrlParseError> for UploadError[src]
impl From<UrlParseError> for UploadErrorfn from(err: UrlParseError) -> UploadError[src]
fn from(err: UrlParseError) -> UploadErrorPerforms the conversion.
Auto Trait Implementations
impl Send for UploadError
impl Send for UploadErrorimpl Sync for UploadError
impl Sync for UploadError