mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-06-10 01:09:25 +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>>;
|