Function tokio_executor::blocking::run[][src]

pub fn run<F, R>(f: F) -> Blocking<R>

Notable traits for Blocking<T>

impl<T> Future for Blocking<T> type Output = T;
where
    F: FnOnce() -> R + Send + 'static,
    R: Send + 'static, 

Run the provided function on a threadpool dedicated to blocking operations.