Enum coroutine::Error [] [src]

pub enum Error {
    Panicked,
    Panicking(Box<Any + Send>),
}

Resume Error

Variants

Panicked

Coroutine is panicked

Panicking(Box<Any + Send>)

Coroutine is panicking, carry with the parameter of panic!()

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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