Skip to main content

EndpointTask

Type Alias EndpointTask 

Source
pub type EndpointTask<'a> = Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>;
Expand description

Type alias for the Future returned by a Handler

Aliased Typeยง

pub struct EndpointTask<'a> { /* private fields */ }