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

There was a panic inside the coroutine.

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]

[src]

Formats the value using the given formatter.

impl Error for TaskFailed
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for TaskFailed
[src]

[src]

Formats the value using the given formatter. Read more