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