Skip to main content

HandlerFuture

Type Alias HandlerFuture 

Source
pub type HandlerFuture = Pin<Box<dyn Future<Output = Result<(), WebhookError>> + Send>>;
Expand description

A handler’s returned work, boxed so handlers of different concrete future types share one registry.

Aliased Type§

#[repr(transparent)]
pub struct HandlerFuture { /* private fields */ }