[][src]Enum ffsend_api::action::download::DownloadError

pub enum DownloadError {
    ComputeSignature,
    Request,
    Response(ResponseError),
    Progress,
    Download,
}

Variants

ComputeSignature

An error occurred while computing the cryptographic signature used for downloading the file.

Request

Sending the request to download the file failed.

Response(ResponseError)

The server responded with an error while requesting the file download.

Progress

Failed to start or update the downloading progress, because of this the download can't continue.

Download

The actual download and decryption process the server. This covers reading the file from the server, decrypting the file, and writing it to the file system.

Trait Implementations

impl Debug for DownloadError[src]

impl Display for DownloadError[src]

impl Fail for DownloadError[src]

impl From<DownloadError> for Error[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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> Typeable for T where
    T: Any