Enum corona::errors::TaskFailed
[−]
[src]
pub enum TaskFailed { Panicked(Box<Any + Send + 'static>), Lost, }
The task (coroutine) has failed.
This is used as an error type and represents an unsuccessfull coroutine.
Variants
Panicked(Box<Any + Send + 'static>)
There was a panic inside the coroutine.
Lost
The coroutine was lost.
This can happen in case the tokio_core::reactor::Core
the coroutine was spawned onto was
dropped before the coroutine completed.
Trait Implementations
impl Debug for TaskFailed
[src]
impl Error for TaskFailed
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more