mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-05-19 03:58:04 +00:00
5 lines
198 B
Rust
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>>;
|