Enum network_communicator::Error [] [src]

pub enum Error<E> {
    ThreadStartError {
        error: IOError,
    },
    Curl {
        error: CurlError,
    },
    EventLoop {
        description: String,
        debug_message: String,
    },
    Initialize {
        error: E,
    },
}

Errors during starting download manager or processing request.

Variants

Unable to start thread.

Fields of ThreadStartError

Curl error - configuring or processing request. First parameter - curl error.

Fields of Curl

Error within event-loop. First parameter - description. Second parameter - debug message.

Fields of EventLoop

User defined error while Initializing

Fields of Initialize

Trait Implementations

impl<E> Debug for Error<E>
[src]

Formats the value using the given formatter.

impl<E> Display for Error<E>
[src]

Formats the value using the given formatter. Read more

impl<E> TraitError for Error<E>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<E> From<CurlError> for Error<E>
[src]

Performs the conversion.