pub fn task_executor() -> TaskExecutor {
    TaskExecutor {
        _p: ::std::marker::PhantomData,
    }
}
/// Returns an executor that executes futures on the current thread.
///
/// The user of `TaskExecutor` must ensure that when a future is submitted,
/// that it is done within the context of a call to `run`.
///
/// For more details, see the [module level](index.html) documentation.
Returns an executor that executes futures on the current thread.
The user of `TaskExecutor` must ensure that when a future is submitted,
that it is done within the context of a call to `run`.

For more details, see the [module level](index.html) documentation.
Returns an executor that executes futures on the current thread . The user of ` TaskExecutor ` must ensure that when a future is submitted that it is done within the context of a call to ` run ` . For more details see the [ module level ] ( index . html ) documentation .
pub fn task_executor() -> TaskExecutor {
    TaskExecutor {
        _p: ::std::marker::PhantomData,
    }
}
pub fn task_executor ( ) -> TaskExecutor { TaskExecutor { _p : :: std :: marker :: PhantomData , } }
Returns an executor that executes futures on the current thread.
Returns an executor that executes futures on the current thread .