Skip to main content

HandlerFuture

Type Alias HandlerFuture 

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

What a handler returns: a future resolving to a result or a problem.

Aliased Typeยง

pub struct HandlerFuture { /* private fields */ }