Skip to main content

HandlerFuture

Type Alias HandlerFuture 

Source
pub type HandlerFuture = Pin<Box<dyn Future<Output = Result<AppResponse, AppError>> + Send>>;
Expand description

What AppHandler::handle returns.

Aliased Typeยง

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