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
ThreadStartErrorUnable to start thread.
Fields of ThreadStartError
error: IOError |
CurlCurl error - configuring or processing request. First parameter - curl error.
Fields of Curl
error: CurlError |
EventLoopError within event-loop. First parameter - description. Second parameter - debug message.
Fields of EventLoop
description: String | |
debug_message: String |
InitializeUser defined error while Initializing
Fields of Initialize
error: E |
Trait Implementations
impl<E> Debug for Error<E>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), FormatterError>
Formats the value using the given formatter.
impl<E> Display for Error<E>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), FormatterError>
Formats the value using the given formatter. Read more
impl<E> TraitError for Error<E>[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&TraitError>
The lower-level cause of this error, if any. Read more