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>
Create a new ExecuteError
fn kind(&self) -> ExecuteErrorKind
Returns the associated reason for the error
fn into_future(self) -> F
Consumes self and returns the original future that was spawned.