relay/src/future.rs
asonix c640567206
Some checks failed
continuous-integration/drone/push Build is failing
Update to newest background-jobs, implement Job rather than ActixJob
2024-01-08 17:00:15 -06:00

5 lines
198 B
Rust

use std::{future::Future, pin::Pin};
pub(crate) type LocalBoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + 'a>>;
pub(crate) type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;