Skip to main content

ApiKeyFuture

Type Alias ApiKeyFuture 

Source
pub type ApiKeyFuture<'a, T> = Pin<Box<dyn Future<Output = Result<T>> + Send + 'a>>;
Expand description

The boxed Send future every ApiKeyStore method returns. Hand-boxed (not async-trait) so the trait stays object-safe behind dyn — the same idiom as jerrycan_jobs’s JobFuture and jerrycan_ratelimit’s HitFuture.

Aliased Type§

pub struct ApiKeyFuture<'a, T> { /* private fields */ }