pub enum ResponseError {
Expired,
Unauthorized,
OtherHttp(StatusCode, String),
Undefined,
}
Variants§
Expired
This request lead to an expired file, or a file that never existed.
We were unauthorized to make this request. This is usually because of an incorrect password.
OtherHttp(StatusCode, String)
Some undefined error occurred with this response.
Undefined
An undefined error message.
Trait Implementations§
Source§impl Debug for ResponseError
impl Debug for ResponseError
Source§impl Display for ResponseError
impl Display for ResponseError
Source§impl Error for ResponseError
impl Error for ResponseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ResponseError> for ChangeError
impl From<ResponseError> for ChangeError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for ChangeError
impl From<ResponseError> for ChangeError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for DeleteError
impl From<ResponseError> for DeleteError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for DownloadError
impl From<ResponseError> for DownloadError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for Error
impl From<ResponseError> for Error
Source§fn from(err: ResponseError) -> Self
fn from(err: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for Error
impl From<ResponseError> for Error
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for Error
impl From<ResponseError> for Error
Source§fn from(err: ResponseError) -> Error
fn from(err: ResponseError) -> Error
Converts to this type from the input type.
Source§impl From<ResponseError> for Error
impl From<ResponseError> for Error
Source§fn from(err: ResponseError) -> Error
fn from(err: ResponseError) -> Error
Converts to this type from the input type.
Source§impl From<ResponseError> for Error
impl From<ResponseError> for Error
Source§fn from(err: ResponseError) -> Error
fn from(err: ResponseError) -> Error
Converts to this type from the input type.
Source§impl From<ResponseError> for InfoError
impl From<ResponseError> for InfoError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for MetaError
impl From<ResponseError> for MetaError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for NonceError
impl From<ResponseError> for NonceError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for UploadError
impl From<ResponseError> for UploadError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseError
impl RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnwindSafe for ResponseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more