[][src]Enum ffsend_api::api::request::ResponseError

pub enum ResponseError {
    Expired,
    Unauthorized,
    OtherHttp(StatusCodeString),
    Undefined,
}

Variants

Expired

This request lead to an expired file, or a file that never existed.

Unauthorized

We were unauthorized to make this request. This is usually because of an incorrect password.

OtherHttp(StatusCodeString)

Some undefined error occurred with this response.

Undefined

An undefined error message.

Trait Implementations

impl From<ResponseError> for Error[src]

impl From<ResponseError> for Error[src]

impl From<ResponseError> for Error[src]

impl From<ResponseError> for Error[src]

impl From<ResponseError> for UploadError[src]

impl From<ResponseError> for NonceError[src]

impl Debug for ResponseError[src]

impl Display for ResponseError[src]

impl Fail for ResponseError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsFail for T where
    T: Fail
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self