aboutsummaryrefslogtreecommitdiff
path: root/src/future.rs
blob: 22a6482fdc60a9027eaa1940e5a47ebe3e5ff68e (plain)
1
2
3
4
5
6
//! Future related utilities.
use std::future::Future;
use std::pin::Pin;

/// A boxed future.
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;