cgp_async/traits/async.rs
1use crate::traits::r#static::MaybeStatic;
2use crate::traits::send::MaybeSend;
3use crate::traits::sync::MaybeSync;
4
5/**
6 This is defined as a convenient constraint alias to
7 `Send + Sync + 'static`.
8*/
9pub trait Async: MaybeSend + MaybeSync + MaybeStatic {}
10
11impl<A> Async for A where A: MaybeSend + MaybeSync + MaybeStatic {}