Skip to main content

AsyncResponse

Type Alias AsyncResponse 

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

The future Application::execute_async returns.

Aliased Typeยง

#[repr(transparent)]
pub struct AsyncResponse<'a> { /* private fields */ }