pub type ResponseFuture<T> = MaybeDone<Pin<Box<dyn Future<Output = T> + Send>>>;
Expand description
A future that may be done in place or not.
Aliased Type§
enum ResponseFuture<T> {
Future(Pin<Box<dyn Future<Output = T> + Send>>),
Done(T),
Gone,
}