Struct futures::future::ExecuteError
[−]
[src]
pub struct ExecuteError<F> { /* fields omitted */ }
Errors returned from the Spawn::spawn
function.
Methods
impl<F> ExecuteError<F>
[src]
fn new(kind: ExecuteErrorKind, future: F) -> ExecuteError<F>
[src]
Create a new ExecuteError
fn kind(&self) -> ExecuteErrorKind
[src]
Returns the associated reason for the error
fn into_future(self) -> F
[src]
Consumes self and returns the original future that was spawned.