Skip to main content

LegacyHandler

Type Alias LegacyHandler 

Source
pub type LegacyHandler = Arc<dyn Fn(Request) -> Pin<Box<dyn Future<Output = Result<Response>> + Send>> + Send + Sync>;
Expand description

A frozen handler that serves a route to versions older than the change that froze it.

Aliased Typeยง

pub struct LegacyHandler { /* private fields */ }