Skip to main content

ShardFuture

Type Alias ShardFuture 

Source
pub type ShardFuture<'cx> = Pin<Box<dyn Future<Output = Result<View>> + Send + 'cx>>;
Available on crate feature router only.
Expand description

The future returned by Shard::render: a boxed, Send future borrowing the shard and its request context.

Aliased Typeยง

pub struct ShardFuture<'cx> { /* private fields */ }